verinec.gui.configurator
Class NodesToolbar.SetModeAction

java.lang.Object
  extended by 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.
 
Constructor Summary
NodesToolbar.SetModeAction(int mode)
          Create, setting a mode from DrawPanel outline modes.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Set the outline mode of the DrawPanel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mode

private int mode
Outline mode constant to set if button pressed.

Constructor Detail

NodesToolbar.SetModeAction

public NodesToolbar.SetModeAction(int mode)
Create, setting a mode from DrawPanel outline modes.

Parameters:
mode - One of the DrawPanel outline mode constants.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Set the outline mode of the DrawPanel.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - The event.

Copyright © 2005 Verinec, DIUF