| nextapp.echo2.app.button.ButtonModel
All known Subclasses: nextapp.echo2.app.button.DefaultButtonModel,
ButtonModel | public interface ButtonModel extends Serializable(Code) | | Model for button components.
|
addActionListener | public void addActionListener(ActionListener l)(Code) | | Adds an ActionListener to receive notification of user
actions, i.e., button presses.
Parameters: l - the listener to add |
doAction | public void doAction()(Code) | | Notifies the model of the button's action having been invoked.
|
getActionCommand | public String getActionCommand()(Code) | | Returns the action command.
the action command |
removeActionListener | public void removeActionListener(ActionListener l)(Code) | | Removes an ActionListener from being notified of user
actions, i.e., button presses.
Parameters: l - the listener to remove |
setActionCommand | public void setActionCommand(String newValue)(Code) | | Sets the action command.
Parameters: newValue - the new action command |
|
|