|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.rcfaces.core.internal.component.CameliaCommandComponent
org.rcfaces.core.component.AbstractCommandComponent
org.rcfaces.core.component.ButtonComponent
org.rcfaces.core.component.ImageButtonComponent
org.rcfaces.core.component.HelpButtonComponent
public class HelpButtonComponent
The helpButton Component is an ImageButton. It opens a new page showing the url specified in the "helpUrl" property of a component linked by the "for" property.
The helpButton Component has the following capabilities :
The default helpButton renderer is link to the f_helpButton javascript class. f_helpButton extends f_imageButton
Table of component style classes :
| Style Name | Description |
| f_helpButton | The server reported an error while performing the "cvs commit" command. org.rcfaces.core: cvs commit: sticky tag `1.3' for file `metadatas/camelia-doc.xml' is not a branch org.rcfaces.core: cvs [commit aborted]: correct above errors first!Defines styles for the wrapper DIV element |
| f_helpButton_ctext | Defines styles for the button Text |
| f_helpButton_cimage | Defines styles for the button Image |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaCommandComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UICommand |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IBorderTypeCapability |
|---|
NONE_BORDER_TYPE_NAME |
| Fields inherited from interface org.rcfaces.core.component.capability.ITextPositionCapability |
|---|
BOTTOM_POSITION, TOP_POSITION |
| Fields inherited from interface org.rcfaces.core.component.capability.IHorizontalTextPositionCapability |
|---|
CENTER_POSITION, DEFAULT_POSITION, LEFT_POSITION, RIGHT_POSITION, UNKNOWN_POSITION |
| Fields inherited from interface org.rcfaces.core.component.capability.ITextDirectionCapability |
|---|
DEFAULT_TEXT_DIRECTION, LEFT_TO_RIGHT_TEXT_DIRECTION, RIGHT_LEFT_TEXT_DIRECTION |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
HelpButtonComponent()
|
|
HelpButtonComponent(String componentId)
|
|
| Method Summary | |
|---|---|
protected Set |
getCameliaFields()
|
String |
getFor()
Returns a component's id that express the link between the two components. |
String |
getFor(FacesContext facesContext)
See getFor() for more details |
boolean |
isForSetted()
Returns true if the attribute "for" is set. |
void |
setFor(String forValue)
Sets a component's id that express the link between the two components. |
| Methods inherited from class org.rcfaces.core.component.ButtonComponent |
|---|
addSelectionListener, getAlternateText, getAlternateText, getFocusStyleClass, getFocusStyleClass, getText, getText, getTextDirection, getTextDirection, isAlternateTextSetted, isFocusStyleClassSetted, isReadOnly, isReadOnly, isReadOnlySetted, isTextDirectionSetted, isTextSetted, listSelectionListeners, removeSelectionListener, setAlternateText, setFocusStyleClass, setReadOnly, setText, setTextDirection |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaCommandComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UICommand |
|---|
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.component.familly.IImageButtonFamilly |
|---|
getTabIndex, getText, isDisabled, isReadOnly |
| Methods inherited from interface org.rcfaces.core.component.capability.ITextCapability |
|---|
getText, setText |
| Methods inherited from interface org.rcfaces.core.component.capability.ISelectionEventCapability |
|---|
addSelectionListener, listSelectionListeners, removeSelectionListener |
| Methods inherited from interface org.rcfaces.core.component.capability.IReadOnlyCapability |
|---|
isReadOnly, setReadOnly |
| Methods inherited from interface org.rcfaces.core.component.capability.IDisabledCapability |
|---|
isDisabled, setDisabled |
| Methods inherited from interface org.rcfaces.core.component.capability.ITabIndexCapability |
|---|
getTabIndex, setTabIndex |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public HelpButtonComponent()
public HelpButtonComponent(String componentId)
| Method Detail |
|---|
public String getFor()
IForCapability
getFor in interface IForCapabilitypublic String getFor(FacesContext facesContext)
getFor() for more details
public final boolean isForSetted()
true if the attribute "for" is set.
true if the attribute is set.public void setFor(String forValue)
IForCapability
setFor in interface IForCapabilityforValue - id for a linked componentprotected Set getCameliaFields()
getCameliaFields in class ImageButtonComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||