java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
- All Implemented Interfaces:
- ActionSource, StateHolder
- public class UICommand
- extends UIComponentBase
- implements ActionSource
see Javadoc of JSF Specification
- Version:
- $Revision: 166994 $ $Date: 2004-07-01 18:12:40 -0400 (Thu, 01 Jul 2004) $
| Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, 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 |
_action
private javax.faces.el.MethodBinding _action
_actionListener
private javax.faces.el.MethodBinding _actionListener
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
DEFAULT_RENDERER_TYPE
private static final java.lang.String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
DEFAULT_IMMEDIATE
private static final boolean DEFAULT_IMMEDIATE
- See Also:
- Constant Field Values
_immediate
private java.lang.Boolean _immediate
_value
private java.lang.Object _value
UICommand
public UICommand()
setAction
public void setAction(javax.faces.el.MethodBinding action)
- Specified by:
setAction in interface ActionSource
getAction
public javax.faces.el.MethodBinding getAction()
- Specified by:
getAction in interface ActionSource
setActionListener
public void setActionListener(javax.faces.el.MethodBinding actionListener)
- Specified by:
setActionListener in interface ActionSource
getActionListener
public javax.faces.el.MethodBinding getActionListener()
- Specified by:
getActionListener in interface ActionSource
addActionListener
public void addActionListener(javax.faces.event.ActionListener listener)
- Specified by:
addActionListener in interface ActionSource
getActionListeners
public javax.faces.event.ActionListener[] getActionListeners()
- Specified by:
getActionListeners in interface ActionSource
removeActionListener
public void removeActionListener(javax.faces.event.ActionListener listener)
- Specified by:
removeActionListener in interface ActionSource
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast in class UIComponentBase
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent in class UIComponentBase
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily in class UIComponent
setImmediate
public void setImmediate(boolean immediate)
- Specified by:
setImmediate in interface ActionSource
isImmediate
public boolean isImmediate()
- Specified by:
isImmediate in interface ActionSource
setValue
public void setValue(java.lang.Object value)
getValue
public java.lang.Object getValue()
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState in interface StateHolder- Overrides:
saveState in class UIComponentBase
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState in interface StateHolder- Overrides:
restoreState in class UIComponentBase