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 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 | 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
| |
| 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
| |
| setImmediate | back to summary |
|---|---|
| public void setImmediate(boolean immediate)
Set the "immediate execution" flag for this
| |