private static class TemporaryBuffer.DefaultUndoState extends java.lang.Object implements UndoStateProvider
UndoStateProvider
is replaced by the TempTable
that
will properly manage the UNDO attribute.
This class is immutable and is discarded when not needed any more.Modifier and Type | Field and Description |
---|---|
(package private) boolean |
undo
The default value of the UNDO attribute.
|
Modifier | Constructor and Description |
---|---|
private |
DefaultUndoState(boolean undo)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUndoable()
Accessor for the internal state.
|
private DefaultUndoState(boolean undo)
undo
- The default value of the default UNDO attribute.public boolean isUndoable()
isUndoable
in interface UndoStateProvider