public class TLcdRedoAction extends ALcdAction
This ILcdAction
allows to call redo
on the TLcdUndoManager
given at construction time. It automatically enables/disables this action when needed.
A custom name or icon can be set to this action using the ILcdAction
interface.
ILcdUndoable
,
TLcdUndoManager
,
TLcdUndoAction
,
Serialized FormchangeSupport
DEFAULT, LONG_DESCRIPTION, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SHOW_ACTION_NAME, SMALL_ICON, VISIBLE
Constructor and Description |
---|
TLcdRedoAction(TLcdUndoManager aUndoManager) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Asks this
TLcdRedoAction to be performed. |
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getLongDescription, getName, getShortDescription, getValue, isEnabled, isTraceOn, putValue, registerInstance, removePropertyChangeListener, setClassTraceOn, setDisplayName, setEnabled, setIcon, setLongDescription, setName, setShortDescription, setTraceOn
public TLcdRedoAction(TLcdUndoManager aUndoManager)
public void actionPerformed(ActionEvent e)
TLcdRedoAction
to be performed. It will get the current
ILcdUndoable
from the TLcdUndoManager
of the application, and then
call its redo()
method.