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 ViewActionEMPTY_ACTIONDeprecated.unusedprotected java.lang.StringviewId
-
Constructor Summary
Constructors Constructor Description ViewAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)abstract voidactionPerformed(View view, java.awt.event.ActionEvent evt)javax.swing.ButtonModelcreateButtonModel()protected ViewgetView(java.awt.event.ActionEvent evt)java.lang.StringgetViewId()voidsetViewId(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)
-
-