public static class ColorTableCanvas.ColorTableCommand extends ColorTableCanvas.CanvasCommand
Constructor and Description |
---|
ColorTableCommand(ColorTableCanvas canvas,
ColorTable newCt)
Create me
|
Modifier and Type | Method and Description |
---|---|
void |
doCommand()
Apply command
|
void |
undoCommand()
Undo command
|
isUndoable, redoCommand
public ColorTableCommand(ColorTableCanvas canvas, ColorTable newCt)
canvas
- The canvasnewCt
- The CTpublic void doCommand()
doCommand
in class ColorTableCanvas.CanvasCommand
public void undoCommand()
undoCommand
in class ColorTableCanvas.CanvasCommand