UndoManager for a GenericStyledArea.
| Modifier and Type | Field and Description |
|---|---|
| public static final Duration |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <PS, SEG, S> Consumer | applyMultiPlainTextChange(GenericStyledArea<PS, SEG, S> area)
Applies a list of |
| public static <PS, SEG, S> Consumer | applyMultiRichTextChange(GenericStyledArea<PS, SEG, S> area)
Applies a list of |
| public static <PS, SEG, S> Consumer | applyPlainTextChange(GenericStyledArea<PS, SEG, S> area)
Applies a |
| public static <PS, SEG, S> Consumer | applyRichTextChange(GenericStyledArea<PS, SEG, S> area)
Applies a |
| public static <PS, SEG, S> UndoManager | defaultUndoManager(GenericStyledArea<PS, SEG, S> area)
Constructs an UndoManager with an unlimited history:
if |
| private static void | moveToChange(GenericStyledArea<PS, SEG, S> area, TextChange<S, Self extends TextChange<S, Self>> chg)
|
| public static UndoManager | |
| public static <PS, SEG, S> UndoManager | plainTextUndoManager(GenericStyledArea<PS, SEG, S> area)
Returns an UndoManager with an unlimited history that can undo/redo |
| public static <PS, SEG, S> UndoManager | plainTextUndoManager(GenericStyledArea<PS, SEG, S> area, Duration preventMergeDelay)
Returns an UndoManager that can undo/redo |
| public static <PS, SEG, S> UndoManager | plainTextUndoManager(GenericStyledArea<PS, SEG, S> area, UndoManagerFactory factory)
Returns an UndoManager that can undo/redo |
| public static <PS, SEG, S> UndoManager | plainTextUndoManager(GenericStyledArea<PS, SEG, S> area, UndoManagerFactory factory, Duration preventMergeDelay)
Returns an UndoManager that can undo/redo |
| public static <PS, SEG, S> UndoManager | richTextSuspendableUndoManager(GenericStyledArea<PS, SEG, S> area, SuspendableYes suspendUndo)
Returns an UndoManager with an unlimited history that can undo/redo |
| public static <PS, SEG, S> UndoManager | richTextSuspendableUndoManager(GenericStyledArea<PS, SEG, S> area, Duration preventMergeDelay, SuspendableYes suspendUndo)
Returns an UndoManager with an unlimited history that can undo/redo |
| public static <PS, SEG, S> UndoManager | richTextUndoManager(GenericStyledArea<PS, SEG, S> area)
Returns an UndoManager with an unlimited history that can undo/redo |
| public static <PS, SEG, S> UndoManager | richTextUndoManager(GenericStyledArea<PS, SEG, S> area, Duration preventMergeDelay)
Returns an UndoManager that can undo/redo |
| public static <PS, SEG, S> UndoManager | richTextUndoManager(GenericStyledArea<PS, SEG, S> area, UndoManagerFactory factory)
Returns an UndoManager that can undo/redo |
| public static <PS, SEG, S> UndoManager | richTextUndoManager(GenericStyledArea<PS, SEG, S> area, UndoManagerFactory factory, Duration preventMergeDelay)
Returns an UndoManager that can undo/redo |
| DEFAULT_PREVENT_MERGE_DELAY | back to summary |
|---|---|
| public static final Duration DEFAULT_PREVENT_MERGE_DELAY | |
| UndoUtils | back to summary |
|---|---|
| private UndoUtils() | |
| applyMultiPlainTextChange | back to summary |
|---|---|
| public static <PS, SEG, S> Consumer Applies a list of | |
| applyMultiRichTextChange | back to summary |
|---|---|
| public static <PS, SEG, S> Consumer Applies a list of | |
| applyPlainTextChange | back to summary |
|---|---|
| public static <PS, SEG, S> Consumer Applies a | |
| applyRichTextChange | back to summary |
|---|---|
| public static <PS, SEG, S> Consumer Applies a | |
| defaultUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Constructs an UndoManager with an unlimited history:
if | |
| moveToChange | back to summary |
|---|---|
| private static void moveToChange(GenericStyledArea<PS, SEG, S> area, TextChange<S, Self extends TextChange<S, Self>> chg) | |
| noOpUndoManager | back to summary |
|---|---|
| public static UndoManager Constructs an UndoManager with no history | |
| plainTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager with an unlimited history that can undo/redo | |
| plainTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager that can undo/redo | |
| plainTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager that can undo/redo | |
| plainTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager that can undo/redo | |
| richTextSuspendableUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager with an unlimited history that can undo/redo Note that only styling changes may occur during suspension of the undo manager. | |
| richTextSuspendableUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager with an unlimited history that can undo/redo Note that only styling changes may occur during suspension of the undo manager. | |
| richTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager with an unlimited history that can undo/redo | |
| richTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager that can undo/redo | |
| richTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager that can undo/redo | |
| richTextUndoManager | back to summary |
|---|---|
| public static <PS, SEG, S> UndoManager Returns an UndoManager that can undo/redo | |