be.lassi.ui.util
Class LassiAction
java.lang.Object
javax.swing.AbstractAction
be.lassi.ui.util.LassiAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class LassiAction
- extends javax.swing.AbstractAction
- See Also:
- Serialized Form
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 |
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 |
LassiAction
public LassiAction()
LassiAction
public LassiAction(java.lang.String id)
action
public void action()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
addAction
public void addAction(java.lang.Runnable action)
getDisabledIcon
public javax.swing.Icon getDisabledIcon()
getEnabledIcon
public javax.swing.Icon getEnabledIcon()
getId
public java.lang.String getId()
getToolTip
public java.lang.String getToolTip()
setDisabledIcon
public void setDisabledIcon(java.lang.String iconName)
setIcon
public void setIcon(javax.swing.Icon icon)
setIcon
public void setIcon(java.lang.String iconName)
setToolTip
public void setToolTip(java.lang.String toolTip)