|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.buffer.Utilities
public final class Utilities
The Utilities
is a static utility class for
TextBuffer
instances.
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static boolean |
attachUndoState(AbstractTextBuffer textBuffer,
AbstractTextBuffer.UndoState state)
Utility routine which will reattach the UndoableEdit's linked through the given state object to the specified TextBuffer. |
static AbstractTextBuffer.UndoState |
copyUndoState(AbstractTextBuffer textBuffer)
Utility routine which will copy all UndoableEdit's that have been generated for the given TextBuffer instance into an opaque state object. |
static AbstractTextBuffer.UndoState |
detachUndoState(AbstractTextBuffer textBuffer)
Utility routine which will detach all UndoableEdit's that have been generated for the given TextBuffer instance into an opaque state object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utilities()
Method Detail |
---|
public static AbstractTextBuffer.UndoState detachUndoState(AbstractTextBuffer textBuffer)
This allows clients to support keeping Undo support for TextBuffer instances without requiring that the TextBuffer be kept pinned in memory.
textBuffer
- the text buffer to detach the undo state of
public static AbstractTextBuffer.UndoState copyUndoState(AbstractTextBuffer textBuffer)
This allows clients to support keeping Undo support for TextBuffer instances without requiring that the TextBuffer be kept pinned in memory.
textBuffer
- the text buffer to copy the undo state of
public static boolean attachUndoState(AbstractTextBuffer textBuffer, AbstractTextBuffer.UndoState state)
textBuffer
- the text buffer to attach the undo state ofstate
- the opaque state object from a prior successful detach
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |