com.sshtools.ui.swing
Class AbstractToggleableAction

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

public class AbstractToggleableAction
extends ToggleableAction

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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AbstractToggleableAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 boolean isSelected()
           
 void setSelected(boolean selected)
           
 
Methods inherited from class com.sshtools.ui.swing.AppAction
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

AbstractToggleableAction

public AbstractToggleableAction()
Method Detail

setSelected

public void setSelected(boolean selected)
Specified by:
setSelected in class ToggleableAction

isSelected

public boolean isSelected()
Specified by:
isSelected in class ToggleableAction

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class AppAction


Copyright © 2003-2009 SSHTOOLS LTD. All Rights Reserved.