Package org.flexdock.view.actions
Class ViewAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.flexdock.view.actions.ViewAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
DefaultCloseAction
,DefaultDisplayAction
,DefaultPinAction
public abstract class ViewAction extends javax.swing.AbstractAction
- Author:
- Christopher Butler
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ViewAction
EMPTY_ACTION
Deprecated.unusedprotected java.lang.String
viewId
-
Constructor Summary
Constructors Constructor Description ViewAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
abstract void
actionPerformed(View view, java.awt.event.ActionEvent evt)
javax.swing.ButtonModel
createButtonModel()
protected View
getView(java.awt.event.ActionEvent evt)
java.lang.String
getViewId()
void
setViewId(java.lang.String viewId)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
EMPTY_ACTION
public static final ViewAction EMPTY_ACTION
Deprecated.unused
-
viewId
protected java.lang.String viewId
-
-
Method Detail
-
getView
protected View getView(java.awt.event.ActionEvent evt)
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
actionPerformed
public abstract void actionPerformed(View view, java.awt.event.ActionEvent evt)
-
createButtonModel
public javax.swing.ButtonModel createButtonModel()
-
getViewId
public java.lang.String getViewId()
-
setViewId
public void setViewId(java.lang.String viewId)
-
-