public static class WhiteboardEdits.StrokeWidthEdit extends AbstractUndoableEdit
RedoName, UndoName| Constructor and Description |
|---|
StrokeWidthEdit(SketchModel skm,
Symbol s,
float oldWidth,
float newWidth) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo() |
boolean |
canUndo() |
String |
getPresentationName() |
void |
redo() |
void |
undo() |
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toStringpublic StrokeWidthEdit(SketchModel skm, Symbol s, float oldWidth, float newWidth)
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.