VdexReload 1.1.3 API

uk.ac.reload.dweezil.menu
Class ReloadUndoMenuManager

java.lang.Object
  extended byuk.ac.reload.dweezil.menu.ReloadUndoMenuManager
All Implemented Interfaces:
DweezilConstants, MenuActionListener, UndoListener

public class ReloadUndoMenuManager
extends java.lang.Object
implements UndoListener, MenuActionListener, DweezilConstants

An Undo Manager for handling the Undo/Redo Menu items.


Field Summary
 
Fields inherited from interface uk.ac.reload.dweezil.DweezilConstants
CR, DEBUG
 
Constructor Summary
ReloadUndoMenuManager(MenuAction actionUndo, MenuAction actionRedo)
          Constructor
 
Method Summary
 void destroy()
          Clean up
 UndoHandler getUndoHandler()
          Get the Undo Handler
 void menuActionPerformed(ReloadMenuEvent event)
          The Undo or Redo Menu Item was performed
 void setFocusGained()
          The Focus has been gained
 void setFocusLost()
          The Focus has been lost
 void undoableActionHappened(UndoableAction action)
          An Undoable Action occurred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReloadUndoMenuManager

public ReloadUndoMenuManager(MenuAction actionUndo,
                             MenuAction actionRedo)
Constructor

Parameters:
actionUndo - the Undo Menu Action
actionRedo - the Redo Menu Action
Method Detail

menuActionPerformed

public void menuActionPerformed(ReloadMenuEvent event)
The Undo or Redo Menu Item was performed

Specified by:
menuActionPerformed in interface MenuActionListener
Parameters:
event - the ReloadMenuEvent

undoableActionHappened

public void undoableActionHappened(UndoableAction action)
An Undoable Action occurred

Specified by:
undoableActionHappened in interface UndoListener
Parameters:
action - the UndoableAction that occured

setFocusGained

public void setFocusGained()
The Focus has been gained


setFocusLost

public void setFocusLost()
The Focus has been lost


destroy

public void destroy()
Clean up


getUndoHandler

public UndoHandler getUndoHandler()
Get the Undo Handler

Returns:
the Undo Handler

VdexReload 1.1.3 API