|
||||||||||
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
com.sun.webui.jsf.component.WebuiCommand
public class WebuiCommand
Base class for components which need to extend UICommand.
Field Summary |
---|
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_FAMILY, COMPONENT_TYPE |
Constructor Summary | |
---|---|
WebuiCommand()
|
Method Summary | |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event)
Before calling super.broadcast ,
pass the ActionEvent being broadcast to the
method referenced by actionListenerExpression (if any). |
javax.faces.el.MethodBinding |
getAction()
|
javax.el.MethodExpression |
getActionExpression()
MethodExpression representing the application action to invoke when this component is activated by the user. |
javax.faces.el.MethodBinding |
getActionListener()
|
javax.el.MethodExpression |
getActionListenerExpression()
Simply return the stored actionListenerExpression . |
void |
processDecodes(javax.faces.context.FacesContext context)
Specialized decode behavior on top of that provided by the superclass. |
void |
processUpdates(javax.faces.context.FacesContext context)
Specialized model update behavior on top of that provided by the superclass. |
void |
processValidators(javax.faces.context.FacesContext context)
Specialized validation behavior on top of that provided by the superclass. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setActionListenerExpression(javax.el.MethodExpression me)
Simply store the actionListenerExpression . |
void |
setId(java.lang.String id)
The component identifier for this component. |
void |
setImmediate(boolean immediate)
Flag indicating that event handling for this component should be handled immediately (in Apply Request Values phase) rather than waiting until Invoke Application phase. |
void |
setRendered(boolean rendered)
Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. |
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, restoreAttachedState, saveAttachedState, setParent, setRendererType, setTransient, setValueBinding, setValueExpression |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebuiCommand()
Method Detail |
---|
public void setId(java.lang.String id)
setId
in class javax.faces.component.UIComponentBase
public void setImmediate(boolean immediate)
setImmediate
in interface javax.faces.component.ActionSource
setImmediate
in class javax.faces.component.UICommand
public void setRendered(boolean rendered)
setRendered
in class javax.faces.component.UIComponentBase
public javax.faces.el.MethodBinding getAction()
getAction
in interface javax.faces.component.ActionSource
getAction
in class javax.faces.component.UICommand
public javax.faces.el.MethodBinding getActionListener()
getActionListener
in interface javax.faces.component.ActionSource
getActionListener
in class javax.faces.component.UICommand
public javax.el.MethodExpression getActionExpression()
getActionExpression
in interface javax.faces.component.ActionSource2
getActionExpression
in class javax.faces.component.UICommand
public javax.el.MethodExpression getActionListenerExpression()
Simply return the stored actionListenerExpression
.
The broadcast
method is overridden in
WebuiCommand
to invoke the
actionListenerExpression
.
public void setActionListenerExpression(javax.el.MethodExpression me)
Simply store the actionListenerExpression
.
The broadcast
method is overridden in
WebuiCommand
to invoke the
actionListenerExpression
.
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
Before calling super.broadcast
,
pass the ActionEvent
being broadcast to the
method referenced by actionListenerExpression
(if any).
broadcast
in class javax.faces.component.UICommand
event
- FacesEvent
to be broadcast
javax.faces.event.AbortProcessingException
- Signal the JavaServer Faces
implementation that no further processing on the current event
should be performed
java.lang.IllegalArgumentException
- if the implementation class
of this FacesEvent
is not supported by this component
java.lang.NullPointerException
- if event
is
null
public void processDecodes(javax.faces.context.FacesContext context)
Specialized decode behavior on top of that provided by the superclass.
processDecodes
in class javax.faces.component.UIComponentBase
context
- FacesContext
for this request.public void processValidators(javax.faces.context.FacesContext context)
Specialized validation behavior on top of that provided by the superclass.
processValidators
in class javax.faces.component.UIComponentBase
context
- FacesContext
for this request.public void processUpdates(javax.faces.context.FacesContext context)
Specialized model update behavior on top of that provided by the superclass.
processUpdates
in class javax.faces.component.UIComponentBase
context
- FacesContext
for this request.public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UICommand
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |