| Modifier and Type | Class and Description |
|---|---|
| public static interface | UndoManager.
Represents a position in UndoManager's history. |
| Modifier and Type | Method and Description |
|---|---|
| public ObservableBooleanValue | atMarkedPositionProperty()
Indicates whether this UndoManager's current position within its history is the same as the last marked position. |
| public void | |
| public void | |
| public UndoManager. | |
| public default C | |
| public default C | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public default void | |
| public Val | |
| public Val | |
| public ObservableBooleanValue | performingActionProperty()
Indicates whether this undo manager is currently performing undo or redo action. |
| public void | |
| public boolean | Returns: true if a change was redone, false otherwise.Redo previously undone change, if there is any change to redo. |
| public Val | |
| public boolean | Returns: true if a change was undone, false otherwise.Undo the most recent change, if there is any change to undo. |
| public Val |
| atMarkedPositionProperty | back to summary |
|---|---|
| public ObservableBooleanValue atMarkedPositionProperty() Indicates whether this UndoManager's current position within its history is the same as the last marked position. | |
| close | back to summary |
|---|---|
| public void close() Stops observing change events. | |
| forgetHistory | back to summary |
|---|---|
| public void forgetHistory() Forgets all changes prior to the current position in the history. | |
| getCurrentPosition | back to summary |
|---|---|
| public UndoManager. Returns the current position within this UndoManager's history. | |
| getNextRedo | back to summary |
|---|---|
| public default C getNextRedo() | |
| getNextUndo | back to summary |
|---|---|
| public default C getNextUndo() | |
| isAtMarkedPosition | back to summary |
|---|---|
| public boolean isAtMarkedPosition() | |
| isPerformingAction | back to summary |
|---|---|
| public boolean isPerformingAction() | |
| isRedoAvailable | back to summary |
|---|---|
| public boolean isRedoAvailable() | |
| isUndoAvailable | back to summary |
|---|---|
| public boolean isUndoAvailable() | |
| mark | back to summary |
|---|---|
| public default void mark() Sets this UndoManager's mark to the current position.
This method is a convenient shortcut for
| |
| nextRedoProperty | back to summary |
|---|---|
| public Val Gives a peek at the change that will be redone by | |
| nextUndoProperty | back to summary |
|---|---|
| public Val Gives a peek at the change that will be undone by | |
| performingActionProperty | back to summary |
|---|---|
| public ObservableBooleanValue performingActionProperty() Indicates whether this undo manager is currently performing undo or redo action. | |
| preventMerge | back to summary |
|---|---|
| public void preventMerge() Prevents the next change from being merged with the latest one. | |
| redo | back to summary |
|---|---|
| public boolean redo() Redo previously undone change, if there is any change to redo.
| |
| redoAvailableProperty | back to summary |
|---|---|
| public Val Indicates whether there is a change that can be redone. | |
| undo | back to summary |
|---|---|
| public boolean undo() Undo the most recent change, if there is any change to undo.
| |
| undoAvailableProperty | back to summary |
|---|---|
| public Val Indicates whether there is a change that can be undone. | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void |
| isValid | back to summary |
|---|---|
| public boolean isValid() Checks whether this history position is still valid. A position becomes invalid when
| |
| mark | back to summary |
|---|---|
| public void mark() Sets the mark of the underlying UndoManager at this position. The mark is set whether or not this position is valid. It is OK for an UndoManager to be marked at an invalid position. | |