public static interface SpenPaintingDoc.HistoryListener
SpenPaintingDoc.commitHistory(HistoryUpdateInfo)SpenPaintingDoc.setHistoryListener(HistoryListener)| Modifier and Type | Method and Description |
|---|---|
void |
onCommit(SpenPaintingDoc paintingDoc)
Called when a new history event is committed.
|
void |
onRedoable(SpenPaintingDoc paintingDoc,
boolean redoable)
Called when the redoable state is changed.
|
void |
onUndoable(SpenPaintingDoc paintingDoc,
boolean undoable)
Called when the undoable state is changed.
|
void onCommit(SpenPaintingDoc paintingDoc)
paintingDoc - The PaintingDoc instancevoid onUndoable(SpenPaintingDoc paintingDoc, boolean undoable)
paintingDoc - The PaintingDoc instance.undoable - The current undoable state.void onRedoable(SpenPaintingDoc paintingDoc, boolean redoable)
paintingDoc - The PaintingDoc instance.redoable - The current redoable state.