|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.button.DefaultButtonModel
Default ButtonModel implementation.
| Constructor Summary | |
DefaultButtonModel()
|
|
| 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. |
void |
fireActionPerformed(ActionEvent e)
Notifies registered ActionListeners of an
ActionEvent. |
java.lang.String |
getActionCommand()
Returns the action command. |
protected EventListenerList |
getEventListenerList()
Returns the local EventListenerList. |
void |
removeActionListener(ActionListener l)
Removes an ActionListener from being notified of user
actions, i.e., button presses. |
void |
setActionCommand(java.lang.String actionCommand)
Sets the action command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultButtonModel()
| Method Detail |
public void addActionListener(ActionListener l)
ButtonModelActionListener to receive notification of user
actions, i.e., button presses.
addActionListener in interface ButtonModell - the listener to addButtonModel.addActionListener(nextapp.echo2.app.event.ActionListener)public void doAction()
ButtonModel
doAction in interface ButtonModelButtonModel.doAction()public void fireActionPerformed(ActionEvent e)
ActionListeners of an
ActionEvent.
e - The ActionEvent to send.public java.lang.String getActionCommand()
ButtonModel
getActionCommand in interface ButtonModelButtonModel.getActionCommand()protected EventListenerList getEventListenerList()
EventListenerList.
public void removeActionListener(ActionListener l)
ButtonModelActionListener from being notified of user
actions, i.e., button presses.
removeActionListener in interface ButtonModell - the listener to removeButtonModel.removeActionListener(nextapp.echo2.app.event.ActionListener)public void setActionCommand(java.lang.String actionCommand)
ButtonModel
setActionCommand in interface ButtonModelactionCommand - the new action commandButtonModel.setActionCommand(java.lang.String)
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||