|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface ActionSource
Define a type (interface) for an object which emits java.awt.ActionEvent events. This interface provides methods to add and remove listeners for that event.
ActionEvent,
ActionListener| Method Summary | |
|---|---|
abstract void |
addActionListener(java.awt.event.ActionListener listener)
Add a listener for the java.awt.ActionEvent event. |
abstract void |
removeActionListener(java.awt.event.ActionListener listener)
Remove a listener for the java.awt.ActionEvent event. |
| Method Detail |
|---|
void addActionListener(java.awt.event.ActionListener listener)
listener - an object which handles ActionEvent events
the listener is not added a second time if it already exists
in the list of listeners for this event.void removeActionListener(java.awt.event.ActionListener listener)
listener - an object which handles ActionEvent events
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||