Class CommandManager

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

public class CommandManager extends Object
Class CommandManager
Version:
%I%, %G%
Author:
Unidata development team
  • Constructor Details

    • CommandManager

      public CommandManager()
      _more_
    • CommandManager

      public CommandManager(int historySize)
      _more_
      Parameters:
      historySize - _more_
  • Method Details

    • getContents

      public JPanel getContents()
      _more_
      Returns:
      _more_
    • getContents

      public JPanel getContents(boolean includeHistory)
    • 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_