ucar.unidata.ui.colortable
Class ColorTableCanvas.CanvasCommand
java.lang.Object
ucar.unidata.ui.Command
ucar.unidata.ui.colortable.ColorTableCanvas.CanvasCommand
- Direct Known Subclasses:
- ColorTableCanvas.ColorListCommand, ColorTableCanvas.ColorTableCommand
- Enclosing class:
- ColorTableCanvas
public static class ColorTableCanvas.CanvasCommand
- extends Command
Class CanvasCommand takes a snapshot of the state of the canvas
- Author:
- IDV development team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorTableCanvas.CanvasCommand
public ColorTableCanvas.CanvasCommand(ColorTableCanvas canvas)
- Create me
- Parameters:
canvas - The canvas
doCommand
public void doCommand()
- Do it
- Overrides:
doCommand in class Command
undoCommand
public void undoCommand()
- Undo it
- Overrides:
undoCommand in class Command