org.xnap.gui.action
Class MenuAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.xnap.action.AbstractToggleAction
          extended by org.xnap.gui.action.PanelAction
              extended by org.xnap.gui.action.MenuAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, ToggleAction

public class MenuAction
extends PanelAction

Provides an action that shows a menu below the button that triggered this action.

See Also:
Serialized Form

Field Summary
 
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
MenuAction(javax.swing.JMenu jm, java.lang.String iconFilename)
           
 
Method Summary
 
Methods inherited from class org.xnap.gui.action.PanelAction
actionPerformed, toggled
 
Methods inherited from class org.xnap.action.AbstractToggleAction
isSelected, setSelected
 
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
 
Methods inherited from interface org.xnap.action.ToggleAction
isSelected, setSelected
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

MenuAction

public MenuAction(javax.swing.JMenu jm,
                  java.lang.String iconFilename)


Copyright © 2001-2005 XNap Team. All Rights Reserved.