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, toString
public StrokeWidthEdit(SketchModel skm, Symbol s, float oldWidth, float newWidth)
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 © 2025 Central Laboratory of the Research Councils. All Rights Reserved.