verinec.gui.configurator
Class NodesToolbar.SetModeAction
java.lang.Object
verinec.gui.configurator.NodesToolbar.SetModeAction
- All Implemented Interfaces:
- ActionListener, EventListener
- Enclosing class:
- NodesToolbar
class NodesToolbar.SetModeAction
- extends Object
- implements ActionListener
Sets the DrawPanel to the specified outline mode if the action is performed.
|
Field Summary |
private int |
mode
Outline mode constant to set if button pressed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mode
private int mode
- Outline mode constant to set if button pressed.
NodesToolbar.SetModeAction
public NodesToolbar.SetModeAction(int mode)
- Create, setting a mode from DrawPanel outline modes.
- Parameters:
mode - One of the DrawPanel outline mode constants.
actionPerformed
public void actionPerformed(ActionEvent e)
- Set the outline mode of the DrawPanel.
- Specified by:
actionPerformed in interface ActionListener
- Parameters:
e - The event.