|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Model for button components.
| Method Summary | |
void |
addActionListener(ActionListener l)
Adds an ActionListener to receive notification of user
actions, i.e., button presses. |
void |
doAction()
Notifies the model of the button's action having been invoked. |
java.lang.String |
getActionCommand()
Returns the action command. |
void |
removeActionListener(ActionListener l)
Removes an ActionListener from being notified of user
actions, i.e., button presses. |
void |
setActionCommand(java.lang.String newValue)
Sets the action command. |
| Method Detail |
public void addActionListener(ActionListener l)
ActionListener to receive notification of user
actions, i.e., button presses.
l - the listener to addpublic void doAction()
public java.lang.String getActionCommand()
public void removeActionListener(ActionListener l)
ActionListener from being notified of user
actions, i.e., button presses.
l - the listener to removepublic void setActionCommand(java.lang.String newValue)
newValue - the new action command
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||