public static class ViewManager.MatrixCommand extends Command
Constructor and Description |
---|
MatrixCommand(ViewManager viewManager,
double[] oldMatrix,
double[] newMatrix)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
redoCommand()
Redo
|
void |
undoCommand()
Undo
|
doCommand, isUndoable
public MatrixCommand(ViewManager viewManager, double[] oldMatrix, double[] newMatrix)
viewManager
- The vmoldMatrix
- The old matrixnewMatrix
- The new matrixpublic void redoCommand()
redoCommand
in class Command
public void undoCommand()
undoCommand
in class Command