Class UndoAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
-
- org.pentaho.reporting.designer.core.actions.AbstractReportContextAction
-
- org.pentaho.reporting.designer.core.actions.report.UndoAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,ChangeListener
,DesignerContextAction
,DesignerContextComponent
public final class UndoAction extends AbstractReportContextAction implements ChangeListener
Todo: Document Me- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
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 Summary
Constructors Constructor Description UndoAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Invoked when an action occurs.void
stateChanged(ChangeEvent e)
Invoked when the target of the listener has changed its state.protected void
updateActiveContext(ReportDocumentContext oldContext, ReportDocumentContext newContext)
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractReportContextAction
getActiveContext, updateActiveContext, updateDesignerContext
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
getReportDesignerContext, isVisible, setReportDesignerContext, setVisible
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
stateChanged
public void stateChanged(ChangeEvent e)
Invoked when the target of the listener has changed its state.- Specified by:
stateChanged
in interfaceChangeListener
- Parameters:
e
- a ChangeEvent object
-
updateActiveContext
protected void updateActiveContext(ReportDocumentContext oldContext, ReportDocumentContext newContext)
- Overrides:
updateActiveContext
in classAbstractReportContextAction
-
actionPerformed
public void actionPerformed(ActionEvent e)
Invoked when an action occurs.- Specified by:
actionPerformed
in interfaceActionListener
-
-