javax.faces.component
Class UICommand
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
- All Implemented Interfaces:
- ActionSource, StateHolder
- Direct Known Subclasses:
- HtmlCommandButton, HtmlCommandLink
public class UICommand
- extends UIComponentBase
- implements ActionSource
see Javadoc of JSF Specification
- Version:
- $Revision: 166994 $ $Date: 2004-07-02 00:12:40 +0200 (Fri, 02 Jul 2004) $
- Author:
- Manfred Geiler (latest modification by $Author: mwessendorf $)
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 |
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
UICommand
public UICommand()
setAction
public void setAction(MethodBinding action)
- Specified by:
setAction
in interface ActionSource
getAction
public MethodBinding getAction()
- Specified by:
getAction
in interface ActionSource
setActionListener
public void setActionListener(MethodBinding actionListener)
- Specified by:
setActionListener
in interface ActionSource
getActionListener
public MethodBinding getActionListener()
- Specified by:
getActionListener
in interface ActionSource
addActionListener
public void addActionListener(ActionListener listener)
- Specified by:
addActionListener
in interface ActionSource
getActionListeners
public ActionListener[] getActionListeners()
- Specified by:
getActionListeners
in interface ActionSource
removeActionListener
public void removeActionListener(ActionListener listener)
- Specified by:
removeActionListener
in interface ActionSource
broadcast
public void broadcast(FacesEvent event)
throws AbortProcessingException
- Overrides:
broadcast
in class UIComponentBase
- Throws:
AbortProcessingException
queueEvent
public void queueEvent(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(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIComponentBase
restoreState
public void restoreState(FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIComponentBase