ucar.unidata.ui.colortable
Class ColorTableCanvas.ColorTableCommand
java.lang.Object
ucar.unidata.ui.Command
ucar.unidata.ui.colortable.ColorTableCanvas.CanvasCommand
ucar.unidata.ui.colortable.ColorTableCanvas.ColorTableCommand
- Enclosing class:
- ColorTableCanvas
public static class ColorTableCanvas.ColorTableCommand
- extends ColorTableCanvas.CanvasCommand
Class ColorTableCommand is used when the CT is changed and we can undo it using
this class
- Author:
- IDV development team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorTableCanvas.ColorTableCommand
public ColorTableCanvas.ColorTableCommand(ColorTableCanvas canvas,
ColorTable newCt)
- Create me
- Parameters:
canvas - The canvasnewCt - The CT
doCommand
public void doCommand()
- Apply command
- Overrides:
doCommand in class ColorTableCanvas.CanvasCommand
undoCommand
public void undoCommand()
- Undo command
- Overrides:
undoCommand in class ColorTableCanvas.CanvasCommand