|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForwardingAction
A ForwardingAction
is a special Action
that
forwards all incoming ActionEvents
to listeners that can be
registered beyond mere processing of the events.
Action
Field Summary |
---|
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Register a listener for events that arrive at the action. |
void |
removeActionListener(java.awt.event.ActionListener listener)
Remove a listener from this Action's listener list. |
Methods inherited from interface javax.swing.Action |
---|
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Method Detail |
---|
void addActionListener(java.awt.event.ActionListener listener)
listener
- the ActionListener
void removeActionListener(java.awt.event.ActionListener listener)
listener
- the ActionListener
to be removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |