public static class WhiteboardEdits.StrokeFillColorEdit extends AbstractUndoableEdit
RedoName, UndoName| Constructor and Description |
|---|
StrokeFillColorEdit(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, toStringpublic StrokeFillColorEdit(SketchModel skm, Symbol s, Color oldColor, Color newColor)
public void redo()
throws CannotRedoException
redo in interface UndoableEditredo in class AbstractUndoableEditCannotRedoExceptionpublic void undo()
throws CannotUndoException
undo in interface UndoableEditundo in class AbstractUndoableEditCannotUndoExceptionpublic boolean canRedo()
canRedo in interface UndoableEditcanRedo in class AbstractUndoableEditpublic boolean canUndo()
canUndo in interface UndoableEditcanUndo in class AbstractUndoableEditpublic String getPresentationName()
getPresentationName in interface UndoableEditgetPresentationName in class AbstractUndoableEditCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.