All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.util.CommandButton
CH.ifa.draw.util.CommandButton
- public class CommandButton
A Command enabled button. Clicking the button executes the command.
- See Also:
- Command
-
CommandButton(Command)
- Initializes the button with the given command.
-
actionPerformed(ActionEvent)
- Executes the command.
CommandButton
public CommandButton(Command command)
- Initializes the button with the given command.
The command's name is used as the label.
actionPerformed
public void actionPerformed(ActionEvent e)
- Executes the command. If the command's name was changed
as a result of the command the button's label is updated
accordingly.
All Packages Class Hierarchy This Package Previous Next Index