|
org.netbeans.modules.editor.util/1 1.17 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Editor Utilities | |
---|---|
org.netbeans.lib.editor.util | |
org.netbeans.lib.editor.util.swing |
The module defines EditorUtilitiesAPI.
The present clients are editor/lib and editor/fold modules.
DocumentUtilities.isReadLocked() and isWriteLocked() allow to check whether AbstractDocument based documents are currently read/write-locked.
FlyOffsetGapList.elementOrEndOffset()
added for use by lexer module
to get either an element's offset or end offset of the last element.
DocumentListenerPriority.LEXER
added
DocumentListenerPriority.LEXER
added for use by lexer module to update
token list for a document.
ArrayUtilities.unmodifiableList() return simple unmodifiable list for the given object array.
ListenerList.getListeners now returns List<T> instead of T[]. The listeners are returned in exactly the same order as they were added to the ListenerList.
The GapList class is a java.util.List
implementation
similar to java.util.ArrayList
but containing a gap in its underlying
array. After a first modification at a particular index
the subsequent modifications around that index are cheap.
The class is suitable for storage of any elements related to editing
such as positions, elements, views etc.
The PriorityMutex is a simple mutex implementation
allowing to find out that a priority thread (by default Event Dispatch Thread)
is waiting to enter the mutex.
It's used e.g. in editor's view hierarchy or in editor fold hierarchy.
GapList-based element implementation suitable for line elements and any other branch element types.
|
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.modules.editor.util/1 1.17 | |||||||||
PREV NEXT | FRAMES NO FRAMES |