ucar.unidata.idv
Class ViewManager.MatrixCommand

java.lang.Object
  extended by ucar.unidata.ui.Command
      extended by ucar.unidata.idv.ViewManager.MatrixCommand
Enclosing class:
ViewManager

public static class ViewManager.MatrixCommand
extends Command

Class MatrixCommand manages changes to the viewpoint matrix

Version:
$Revision: 1.401 $
Author:
IDV Development Team

Constructor Summary
ViewManager.MatrixCommand(ViewManager viewManager, double[] oldMatrix, double[] newMatrix)
          ctor
 
Method Summary
 void redoCommand()
          Redo
 void undoCommand()
          Undo
 
Methods inherited from class ucar.unidata.ui.Command
doCommand, isUndoable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewManager.MatrixCommand

public ViewManager.MatrixCommand(ViewManager viewManager,
                                 double[] oldMatrix,
                                 double[] newMatrix)
ctor

Parameters:
viewManager - The vm
oldMatrix - The old matrix
newMatrix - The new matrix
Method Detail

redoCommand

public void redoCommand()
Redo

Overrides:
redoCommand in class Command

undoCommand

public void undoCommand()
Undo

Overrides:
undoCommand in class Command