Package docking.actions
Class ActionAdapter
- java.lang.Object
-
- docking.actions.ActionAdapter
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.util.EventListener
,javax.swing.Action
public class ActionAdapter extends java.lang.Object implements javax.swing.Action, java.beans.PropertyChangeListener
-
-
Constructor Summary
Constructors Constructor Description ActionAdapter(DockingActionIf dockingAction, ActionContextProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
java.lang.Object
getValue(java.lang.String key)
boolean
isEnabled()
void
propertyChange(java.beans.PropertyChangeEvent evt)
void
putValue(java.lang.String key, java.lang.Object value)
void
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
void
setDefaultAction(javax.swing.Action defaultAction)
void
setEnabled(boolean b)
-
-
-
Constructor Detail
-
ActionAdapter
public ActionAdapter(DockingActionIf dockingAction, ActionContextProvider provider)
-
-
Method Detail
-
setDefaultAction
public void setDefaultAction(javax.swing.Action defaultAction)
-
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 b)
- Specified by:
setEnabled
in interfacejavax.swing.Action
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-