org.virion.jam.toolbar
Class ToolbarAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.virion.jam.toolbar.ToolbarAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public abstract class ToolbarAction
extends AbstractAction

Author:
rambaut Date: Oct 18, 2005 Time: 10:10:52 PM
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
protected ToolbarAction(String label, String toolTipText, Icon icon)
           
protected ToolbarAction(String label, String toolTipText, Icon icon, Icon disabledIcon, Icon pressedIcon)
           
 
Method Summary
 Icon getDisabledIcon()
           
 Icon getIcon()
           
 String getLabel()
           
 Icon getPressedIcon()
           
 String getToolTipText()
           
 
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 java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

ToolbarAction

protected ToolbarAction(String label,
                        String toolTipText,
                        Icon icon)

ToolbarAction

protected ToolbarAction(String label,
                        String toolTipText,
                        Icon icon,
                        Icon disabledIcon,
                        Icon pressedIcon)
Method Detail

getLabel

public String getLabel()

getIcon

public Icon getIcon()

getDisabledIcon

public Icon getDisabledIcon()

getPressedIcon

public Icon getPressedIcon()

getToolTipText

public String getToolTipText()