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 void
actionPerformed(java.awt.event.ActionEvent arg0)
void
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
javax.swing.Icon
getIcon()
java.lang.Object
getValue(java.lang.String key)
boolean
isEnabled()
void
putValue(java.lang.String key, java.lang.Object value)
void
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
void
setEnabled(boolean enabled)
void
setIcon(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:
actionPerformed
in interfacejava.awt.event.ActionListener
-
getIcon
public javax.swing.Icon getIcon()
- Specified by:
getIcon
in interfaceActionLeaf
-
setIcon
public void setIcon(javax.swing.Icon icon)
- Specified by:
setIcon
in interfaceActionLeaf
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfacejavax.swing.Action
-
getValue
public java.lang.Object getValue(java.lang.String key)
- Specified by:
getValue
in interfacejavax.swing.Action
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfacejavax.swing.Action
-
putValue
public void putValue(java.lang.String key, java.lang.Object value)
- Specified by:
putValue
in interfacejavax.swing.Action
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfacejavax.swing.Action
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfacejavax.swing.Action
-
-