Package ipsk.swing.action.tree
Class AbstractActionLeaf
- java.lang.Object
-
- ipsk.swing.action.tree.AbstractActionNode
-
- ipsk.swing.action.tree.AbstractActionLeaf
-
- All Implemented Interfaces:
ActionLeaf,ActionNode,java.awt.event.ActionListener,java.util.EventListener,javax.swing.Action
- Direct Known Subclasses:
CheckActionLeaf,JComponentImageFileWriteAction,RadioActionLeaf
public abstract class AbstractActionLeaf extends AbstractActionNode implements ActionLeaf
- Author:
- klausj
-
-
Field Summary
-
Fields inherited from class ipsk.swing.action.tree.AbstractActionNode
displayName
-
-
Constructor Summary
Constructors Constructor Description AbstractActionLeaf(LocalizableMessage displayName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidactionPerformed(java.awt.event.ActionEvent arg0)voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)javax.swing.IcongetIcon()java.lang.ObjectgetValue(java.lang.String key)booleanisEnabled()voidputValue(java.lang.String key, java.lang.Object value)voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener)voidsetEnabled(boolean enabled)voidsetIcon(javax.swing.Icon icon)-
Methods inherited from class ipsk.swing.action.tree.AbstractActionNode
getDisplayName, setDisplayName, toString
-
Methods inherited from interface ipsk.swing.action.tree.ActionNode
getDisplayName, setDisplayName
-
-
-
-
Constructor Detail
-
AbstractActionLeaf
public AbstractActionLeaf(LocalizableMessage displayName)
-
-
Method Detail
-
actionPerformed
public abstract void actionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
getIcon
public javax.swing.Icon getIcon()
- Specified by:
getIconin interfaceActionLeaf
-
setIcon
public void setIcon(javax.swing.Icon icon)
- Specified by:
setIconin interfaceActionLeaf
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListenerin interfacejavax.swing.Action
-
getValue
public java.lang.Object getValue(java.lang.String key)
- Specified by:
getValuein interfacejavax.swing.Action
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfacejavax.swing.Action
-
putValue
public void putValue(java.lang.String key, java.lang.Object value)- Specified by:
putValuein interfacejavax.swing.Action
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfacejavax.swing.Action
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfacejavax.swing.Action
-
-