com.sun.electric.tool.user.ui
Class ToolBar.SelectModeButton

java.lang.Object
  extended by com.sun.electric.tool.user.menus.EMenuItem
      extended by com.sun.electric.tool.user.ui.ToolBar.EToolBarButton
          extended by com.sun.electric.tool.user.ui.ToolBar.SelectModeButton
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
ToolBar

public static class ToolBar.SelectModeButton
extends ToolBar.EToolBarButton


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.user.menus.EMenuItem
EMenuItem.CheckBox
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.user.menus.EMenuItem
NULL_ARRAY, SEPARATOR
 
Method Summary
 boolean isSelected()
          Returns selection state of this generic EMenuItem.
 void run()
          Abstract method which executes command.
 
Methods inherited from class com.sun.electric.tool.user.ui.ToolBar.EToolBarButton
genToolBarButton, getIcon, getMenuName, registerItem, setIcon, updateButtons
 
Methods inherited from class com.sun.electric.tool.user.menus.EMenuItem
actionPerformed, getDescription, getMnemonicChar, getPath, getText, getToolTipText, isEnabled, registerUpdatable, repeatLastCommand, shortcut, shortcut, toString, updateMenuItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isSelected

public boolean isSelected()
Description copied from class: EMenuItem
Returns selection state of this generic EMenuItem. Override in subclasses.

Overrides:
isSelected in class EMenuItem
Returns:
true is this generic EMenuItem is selected.

run

public void run()
Description copied from class: EMenuItem
Abstract method which executes command.

Specified by:
run in class EMenuItem