public class InsertRowAction extends FocusOwnerAction
focusOwner
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 |
---|
InsertRowAction()
Creates a new row insertion action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event)
Inserts a row before the active cell in the focus owner table.
|
protected void |
defineProperties()
Defines the action's properties.
|
protected String |
getName()
Returns the action's name.
|
propertyChange
requiresFile, requiresModification, showErrorDialog
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public InsertRowAction()
protected String getName()
BaseAction
getName
in class BaseAction
protected void defineProperties()
BaseAction
defineProperties
in class BaseAction
public void actionPerformed(ActionEvent event)
event
- the event that was fired