ucar.unidata.ui
Class CommandManager

java.lang.Object
  extended by ucar.unidata.ui.CommandManager

public class CommandManager
extends Object

Class CommandManager

Version:
%I%, %G%
Author:
Unidata development team

Constructor Summary
CommandManager()
          _more_
CommandManager(int historySize)
          _more_
 
Method Summary
 void add(Command command)
          _more_
 void add(Command command, boolean andCallDoCommand)
          _more_
 boolean canGoBack()
          _more_
 boolean canGoForward()
          _more_
 void checkGui()
          _more_
 boolean getApplyingCommand()
          _more_
 JButton getBackButton()
          _more_
 JPanel getContents()
          _more_
 JButton getForwardButton()
          _more_
 void move(int delta)
          _more_
 void redo()
          _more_
 int size()
          _more_
 String toString()
          _more_
 void undo()
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandManager

public CommandManager()
_more_


CommandManager

public CommandManager(int historySize)
_more_

Parameters:
historySize - _more_
Method Detail

getContents

public JPanel getContents()
_more_

Returns:
_more_

getBackButton

public JButton getBackButton()
_more_

Returns:
_more_

getForwardButton

public JButton getForwardButton()
_more_

Returns:
_more_

undo

public void undo()
_more_


redo

public void redo()
_more_


move

public void move(int delta)
_more_

Parameters:
delta -

getApplyingCommand

public boolean getApplyingCommand()
_more_

Returns:
_more_

checkGui

public void checkGui()
_more_


add

public void add(Command command)
_more_

Parameters:
command -

add

public void add(Command command,
                boolean andCallDoCommand)
_more_

Parameters:
command -
andCallDoCommand - _more_

size

public int size()
_more_

Returns:
_more_

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

canGoForward

public boolean canGoForward()
_more_

Returns:
_more_

canGoBack

public boolean canGoBack()
_more_

Returns:
_more_