org.flexdock.view.actions
public abstract class ViewAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
static ViewAction |
EMPTY_ACTION
Deprecated.
unused
|
protected String |
viewId |
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
ViewAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
abstract void |
actionPerformed(View view,
ActionEvent evt) |
ButtonModel |
createButtonModel() |
protected View |
getView(ActionEvent evt) |
String |
getViewId() |
void |
setViewId(String viewId) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public static final ViewAction EMPTY_ACTION
protected String viewId
protected View getView(ActionEvent evt)
public void actionPerformed(ActionEvent e)
public abstract void actionPerformed(View view, ActionEvent evt)
public ButtonModel createButtonModel()
public String getViewId()
public void setViewId(String viewId)