public static class WhiteboardEdits.StrokeOutlineColorEdit extends AbstractUndoableEdit
RedoName, UndoName
Constructor and Description |
---|
StrokeOutlineColorEdit(SketchModel skm,
Symbol s,
Color oldColor,
Color newColor) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRedo() |
boolean |
canUndo() |
String |
getPresentationName() |
void |
redo() |
void |
undo() |
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
public StrokeOutlineColorEdit(SketchModel skm, Symbol s, Color oldColor, Color newColor)
public void redo() throws CannotRedoException
redo
in interface UndoableEdit
redo
in class AbstractUndoableEdit
CannotRedoException
public void undo() throws CannotUndoException
undo
in interface UndoableEdit
undo
in class AbstractUndoableEdit
CannotUndoException
public boolean canRedo()
canRedo
in interface UndoableEdit
canRedo
in class AbstractUndoableEdit
public boolean canUndo()
canUndo
in interface UndoableEdit
canUndo
in class AbstractUndoableEdit
public String getPresentationName()
getPresentationName
in interface UndoableEdit
getPresentationName
in class AbstractUndoableEdit
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.