ActionSource is an interface that may be implemented by any concrete
UIComponent that wishes to be a source of ActionEvents, including the ability to
invoke application actions via the default ActionListener mechanism.
| Modifier and Type | Method and Description |
|---|---|
| public void | addActionListener(ActionListener
The listener)ActionListener to be added
Add a new |
| public MethodBinding | Returns: the action.
Deprecated
This has been replaced by
ActionSource2#getActionExpression.
If the implementing class also implements |
| public MethodBinding | Returns: the action listener.
Deprecated
Use
getActionListeners instead.
If |
| public ActionListener[] | Returns: the action listeners, or a zero-length array.
Return the set of registered |
| public boolean | Returns: true if immediate, false otherwise.
Return a flag indicating that the default |
| public void | removeActionListener(ActionListener
The listener)ActionListener to be removed
Remove an existing |
| public void | setAction(MethodBinding
The new MethodBinding expression action)
Deprecated
This has been replaced by
ActionSource2#setActionExpression(javax.el.MethodExpression).
If the implementing class also implements |
| public void | setActionListener(MethodBinding
The new method binding expression actionListener)
Deprecated
This has been replaced by
addActionListener(javax.faces.event.ActionListener).
Wrap the argument |
| public void | setImmediate(boolean
The new immediate execution flag immediate)
Set the "immediate execution" flag for this |
| addActionListener | back to summary |
|---|---|
| public void addActionListener(ActionListener listener)
Add a new
| |
| getAction | back to summary |
|---|---|
| public MethodBinding getAction()
Deprecated This has been replaced by
If the implementing class also implements
If the implementing class does not implement
| |
| getActionListener | back to summary |
|---|---|
| public MethodBinding getActionListener()
Deprecated Use
If
The method to be invoked, if this
| |
| getActionListeners | back to summary |
|---|---|
| public ActionListener[] getActionListeners()
Return the set of registered
| |
| isImmediate | back to summary |
|---|---|
| public boolean isImmediate()
Return a flag indicating that the default
| |
| removeActionListener | back to summary |
|---|---|
| public void removeActionListener(ActionListener listener)
Remove an existing
| |
| setAction | back to summary |
|---|---|
| public void setAction(MethodBinding action)
Deprecated This has been replaced by
If the implementing class also implements
If the implementing class does not implement
Any method referenced by such an expression must be public, with a return type of
| |
| setActionListener | back to summary |
|---|---|
| public void setActionListener(MethodBinding actionListener)
Deprecated This has been replaced by
Wrap the argument
Any method referenced by such an expression must be public, with a return type of
| |
| setImmediate | back to summary |
|---|---|
| public void setImmediate(boolean immediate)
Set the "immediate execution" flag for this
| |