gov.nih.nlm.mms
Class OutputStreamRedoHandler

java.lang.Object
  extended bygov.nih.nlm.mms.OutputStreamRedoHandler
All Implemented Interfaces:
RedoHandler

public class OutputStreamRedoHandler
extends Object
implements RedoHandler

Handles redo operation for a change in output handler.


Constructor Summary
OutputStreamRedoHandler(MetamorphoSysGUI gui, JTextField field, JPanel content_panel)
          Instantiates an OutputStreamRedoHandler.
 
Method Summary
 String getTitle()
          Returns the title for the redo menu.
 void redo(Object o1, Object o2)
          Performs the redo operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStreamRedoHandler

public OutputStreamRedoHandler(MetamorphoSysGUI gui,
                               JTextField field,
                               JPanel content_panel)
Instantiates an OutputStreamRedoHandler.

Parameters:
gui - the MetamorphoSysGUI
field - the text field to update
content_panel - the panel to update
Method Detail

getTitle

public String getTitle()
Returns the title for the redo menu.

Specified by:
getTitle in interface RedoHandler
Returns:
the title for the rndo menu

redo

public void redo(Object o1,
                 Object o2)
Performs the redo operation.

Specified by:
redo in interface RedoHandler
Parameters:
o1 - the new output stream
o2 - the old output stream


Copyright ©2005