All Known Implementing Classes:
HtmlCommandButton, ActionSource2, UICommand, HtmlCommandLink
ActionSource is an interface that may be implemented by any concrete UIComponent that wishes to be a source of ActionEvent s, including the ability to invoke application actions via the default ActionListener mechanism.
Method from javax.faces.component.ActionSource Summary: |
---|
addActionListener, getAction, getActionListener, getActionListeners, isImmediate, removeActionListener, setAction, setActionListener, setImmediate |
Method from javax.faces.component.ActionSource Detail: |
---|
Add a new ActionListener to the set of listeners interested in being notified when ActionEvent s occur. |
If the implementing class also implements ActionSource2 , the implementation of this method must call
through to ActionSource2#getActionExpression and examine
the result. If the result came from a previous call to #setAction , extract the If the implementing class does not implement
|
If #setActionListener was not previously called
for this instance, this method must return The method to be invoked, if this UIComponent is
activated by the user, will be called during the Apply
Request Values or Invoke Application phase of the
request processing lifecycle, depending upon the value of the
|
Return the set of registered ActionListener s for this ActionSource instance. If there are no registered listeners, a zero-length array is returned. |
Return a flag indicating that the default ActionListener
provided by the JavaServer Faces implementation should be executed
immediately (that is, during Apply Request Values phase
of the request processing lifecycle), rather than waiting until the
Invoke Application phase. The default value for this
property must be |
Remove an existing ActionListener (if any) from the set of listeners interested in being notified when ActionEvent s occur. |
If the implementing class also implements ActionSource2 , the implementation of this method must wrap the
argument If the implementing class does not implement
Any method referenced by such an expression must be public, with
a return type of |
Wrap the argument Any method referenced by such an expression must be public, with
a return type of |
Set the "immediate execution" flag for this UIComponent . |