org.apache.myfaces.tobago.component
Class UIToolBarSelectOne
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
org.apache.myfaces.tobago.internal.component.AbstractUICommand
org.apache.myfaces.tobago.component.UICommand
org.apache.myfaces.tobago.component.UISelectOneCommand
org.apache.myfaces.tobago.component.UIToolBarSelectOne
- All Implemented Interfaces:
- ActionSource, ActionSource2, StateHolder, SupportsMarkup, SupportsRenderedPartially, Configurable, LayoutBase, LayoutComponent
public class UIToolBarSelectOne
- extends UISelectOneCommand
Renders a set of radio command button's within a toolbar.
UIComponent class, generated from template component1.2.stg with class
org.apache.myfaces.tobago.internal.taglib.component.ToolBarSelectOneTagDeclaration.
|
Method Summary |
boolean |
isDisabled()
Flag indicating that this element is disabled. |
boolean |
isImmediate()
Flag indicating that, if this component is activated by the user,
notifications should be delivered to interested listeners and actions
immediately (that is, during Apply Request Values phase) rather than
waiting until Invoke Application phase. |
boolean |
isJsfResource()
Flag indicating that the resource referenced by the resource attribute is a jsf resource. |
boolean |
isTransition()
Specify, if the command calls an JSF-Action. |
void |
restoreState(FacesContext context,
Object componentState)
|
Object |
saveState(FacesContext context)
|
void |
setDisabled(boolean disabled)
|
void |
setImmediate(boolean immediate)
|
void |
setJsfResource(boolean jsfResource)
|
void |
setTransition(boolean transition)
|
| Methods inherited from class org.apache.myfaces.tobago.component.UICommand |
getColumnSpan, getCurrentHeight, getCurrentMarkup, getCurrentWidth, getDisplay, getHeight, getHorizontalIndex, getLeft, getLink, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarkup, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getOnclick, getPreferredHeight, getPreferredWidth, getRenderedPartially, getResource, getRowSpan, getTarget, getTop, getVerticalIndex, getWidth, setColumnSpan, setCurrentHeight, setCurrentMarkup, setCurrentWidth, setDisplay, setHeight, setHorizontalIndex, setLeft, setLink, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarkup, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setOnclick, setPreferredHeight, setPreferredWidth, setRenderedPartially, setResource, setRowSpan, setTarget, setTop, setVerticalIndex, setWidth |
| Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommandBase |
processDecodes, queueEvent |
| Methods inherited from class javax.faces.component.UICommand |
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, removeActionListener, setAction, setActionExpression, setActionListener, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
UIToolBarSelectOne
public UIToolBarSelectOne()
isImmediate
public boolean isImmediate()
- Flag indicating that, if this component is activated by the user,
notifications should be delivered to interested listeners and actions
immediately (that is, during Apply Request Values phase) rather than
waiting until Invoke Application phase.
Default: false
- Specified by:
isImmediate in interface ActionSource- Overrides:
isImmediate in class UISelectOneCommand
setImmediate
public void setImmediate(boolean immediate)
- Specified by:
setImmediate in interface ActionSource- Overrides:
setImmediate in class UISelectOneCommand
isJsfResource
public boolean isJsfResource()
- Flag indicating that the resource referenced by the resource attribute is a jsf resource.
That means that the url has to be processed to change the prefix or suffix (e. g. *.jsf or
/faces/*). Default is false.
Default: false
- Overrides:
isJsfResource in class UISelectOneCommand
setJsfResource
public void setJsfResource(boolean jsfResource)
- Overrides:
setJsfResource in class UISelectOneCommand
isTransition
public boolean isTransition()
- Specify, if the command calls an JSF-Action.
Useful to switch off the Double-Submit-Check and Waiting-Behavior.
Default: true
- Overrides:
isTransition in class UISelectOneCommand
setTransition
public void setTransition(boolean transition)
- Overrides:
setTransition in class UISelectOneCommand
isDisabled
public boolean isDisabled()
- Flag indicating that this element is disabled.
Default: false
- Overrides:
isDisabled in class UICommand
setDisabled
public void setDisabled(boolean disabled)
- Overrides:
setDisabled in class UICommand
restoreState
public void restoreState(FacesContext context,
Object componentState)
- Specified by:
restoreState in interface StateHolder- Overrides:
restoreState in class UISelectOneCommand
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState in interface StateHolder- Overrides:
saveState in class UISelectOneCommand
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.