com.sshtools.ui.swing
Class ToggledPopupAction

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
                  extended by com.sshtools.ui.swing.ToggledPopupAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public abstract class ToggledPopupAction
extends AbstractToggleableAction

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
ToggledPopupAction()
           
ToggledPopupAction(int edge)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void setEdge(int edge)
           
 void setPopup(ToggledPopupMenu popup)
           
 void setToggle(javax.swing.JToggleButton toggle)
           
 
Methods inherited from class com.sshtools.ui.swing.AbstractToggleableAction
isSelected, setSelected
 
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

ToggledPopupAction

public ToggledPopupAction()

ToggledPopupAction

public ToggledPopupAction(int edge)
Method Detail

setEdge

public void setEdge(int edge)

setPopup

public void setPopup(ToggledPopupMenu popup)

setToggle

public void setToggle(javax.swing.JToggleButton toggle)

actionPerformed

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


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