com.sshtools.ui.swing
Class ToggleableAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.sshtools.ui.swing.AppAction
          extended by com.sshtools.ui.swing.ToggleableAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
AbstractToggleableAction

public abstract class ToggleableAction
extends AppAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sshtools.ui.swing.AppAction
CATEGORY, CONTEXT_MENU_GROUP, CONTEXT_MENU_WEIGHT, IMAGE_DIR, IS_SELECTED, IS_TOGGLE_BUTTON, LARGE_ICON, MEDIUM_ICON, MENU_ITEM_GROUP, MENU_ITEM_WEIGHT, MENU_NAME, ON_CONTEXT_MENU, ON_MENUBAR, ON_TOOLBAR, TEXT_ON_TOOLBAR, TOOLBAR_GROUP, TOOLBAR_WEIGHT
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ToggleableAction()
           
 
Method Summary
abstract  boolean isSelected()
           
abstract  void setSelected(boolean sel)
           
 
Methods inherited from class com.sshtools.ui.swing.AppAction
actionPerformed, addActionListener, getActionCommand, getIcon, getLongDescription, getName, getShortDescription, getSmallIcon, removeActionListener
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleableAction

public ToggleableAction()
Method Detail

setSelected

public abstract void setSelected(boolean sel)
Overrides:
setSelected in class AppAction

isSelected

public abstract boolean isSelected()
Overrides:
isSelected in class AppAction


Copyright © 2003-2004 3SP LTD. All Rights Reserved.