MultiChangeUndoManagerImpl, UndoManagerImplpublic interface UndoManager<C>
| Type | Property | Description |
|---|---|---|
javafx.beans.value.ObservableBooleanValue |
atMarkedPosition |
Indicates whether this UndoManager's current position within
its history is the same as the last marked position.
|
org.reactfx.value.Val<C> |
nextRedo |
Gives a peek at the change that will be redone by
redo(). |
org.reactfx.value.Val<C> |
nextUndo |
Gives a peek at the change that will be undone by
undo(). |
javafx.beans.value.ObservableBooleanValue |
performingAction |
Indicates whether this undo manager is currently performing undo or redo
action.
|
org.reactfx.value.Val<java.lang.Boolean> |
redoAvailable |
Indicates whether there is a change that can be redone.
|
org.reactfx.value.Val<java.lang.Boolean> |
undoAvailable |
Indicates whether there is a change that can be undone.
|
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
UndoManager.UndoPosition |
Represents a position in UndoManager's history.
|
| Modifier and Type | Method | Description |
|---|---|---|
javafx.beans.value.ObservableBooleanValue |
atMarkedPositionProperty() |
Indicates whether this UndoManager's current position within
its history is the same as the last marked position.
|
void |
close() |
Stops observing change events.
|
void |
forgetHistory() |
Forgets all changes prior to the current position in the history.
|
UndoManager.UndoPosition |
getCurrentPosition() |
Returns the current position within this UndoManager's history.
|
default C |
getNextRedo() |
Gets the value of the property nextRedo.
|
default C |
getNextUndo() |
Gets the value of the property nextUndo.
|
boolean |
isAtMarkedPosition() |
|
boolean |
isPerformingAction() |
|
boolean |
isRedoAvailable() |
|
boolean |
isUndoAvailable() |
|
default void |
mark() |
Sets this UndoManager's mark to the current position.
|
org.reactfx.value.Val<C> |
nextRedoProperty() |
Gives a peek at the change that will be redone by
redo(). |
org.reactfx.value.Val<C> |
nextUndoProperty() |
Gives a peek at the change that will be undone by
undo(). |
javafx.beans.value.ObservableBooleanValue |
performingActionProperty() |
Indicates whether this undo manager is currently performing undo or redo
action.
|
void |
preventMerge() |
Prevents the next change from being merged with the latest one.
|
boolean |
redo() |
Redo previously undone change, if there is any change to redo.
|
org.reactfx.value.Val<java.lang.Boolean> |
redoAvailableProperty() |
Indicates whether there is a change that can be redone.
|
boolean |
undo() |
Undo the most recent change, if there is any change to undo.
|
org.reactfx.value.Val<java.lang.Boolean> |
undoAvailableProperty() |
Indicates whether there is a change that can be undone.
|
org.reactfx.value.Val<java.lang.Boolean> undoAvailableProperty
org.reactfx.value.Val<C> nextUndoProperty
undo().getNextUndo()org.reactfx.value.Val<C> nextRedoProperty
redo().getNextRedo()org.reactfx.value.Val<java.lang.Boolean> redoAvailableProperty
javafx.beans.value.ObservableBooleanValue performingActionProperty
javafx.beans.value.ObservableBooleanValue atMarkedPositionProperty
boolean undo()
true if a change was undone, false otherwise.boolean redo()
true if a change was redone, false otherwise.org.reactfx.value.Val<java.lang.Boolean> undoAvailableProperty()
boolean isUndoAvailable()
org.reactfx.value.Val<C> nextUndoProperty()
undo().getNextUndo()default C getNextUndo()
undo().org.reactfx.value.Val<C> nextRedoProperty()
redo().getNextRedo()default C getNextRedo()
redo().org.reactfx.value.Val<java.lang.Boolean> redoAvailableProperty()
boolean isRedoAvailable()
javafx.beans.value.ObservableBooleanValue performingActionProperty()
boolean isPerformingAction()
void preventMerge()
void forgetHistory()
UndoManager.UndoPosition getCurrentPosition()
default void mark()
getCurrentPosition().mark().javafx.beans.value.ObservableBooleanValue atMarkedPositionProperty()
boolean isAtMarkedPosition()
void close()