See: Description
Interface | Description |
---|---|
ActiveEditorDrop |
ActiveEditorDrop with artificial DataFlavor.
|
AnnotationProvider |
A provider of annotations for given context.
|
CloneableEditorSupport.Env |
Interface for providing data for the support and also
locking the source of data.
|
CloneableEditorSupport.Pane |
Describes one existing editor.
|
NbDocument.Annotatable |
Enhanced version of document which is capable of
attaching/detaching of annotations.
|
NbDocument.CustomEditor |
Enabled documents to add special UI components to their Editor pane.
|
NbDocument.CustomToolbar |
Enabled documents to add special UI toolbar components to their Editor pane.
|
NbDocument.PositionBiasable |
Enhanced version of document that provides better support for
holding and working with biased positions.
|
NbDocument.Printable |
Document which may support styled text printing.
|
NbDocument.WriteLockable |
Specialized version of document that knows how to lock the document
for complex modifications.
|
Class | Description |
---|---|
Annotatable |
Classes which are capable of holding annotations must
extend this abstract class.
|
Annotation |
Description of annotation.
|
AttributedCharacters |
The class is a support for all classes that implement PrintCookie.
|
AttributedCharacters.AttributedCharacterIteratorImpl |
Implementation of AttributedCharacterIterator interface.
|
CloneableEditor |
Cloneable top component to hold the editor kit.
|
CloneableEditorSupport |
Support for associating an editor and a Swing
Document . |
CloneableEditorSupportRedirector |
Allows to find another
CloneableEditorSupport that all the
requests passed to given one should be redirected to. |
DocumentLine |
Implementation of a line in a
StyledDocument . |
DocumentLine.Set |
Abstract implementation of
Line.Set . |
FilterDocument |
Document that delegates all functionality to given document.
|
FilterStyledDocument |
Document that delegates all functionality to a given
StyledDocument . |
IndentEngine | Deprecated
Please use Editor Indentation API instead, for details see
Editor Indentation.
|
Line |
Represents one line in a text document.
|
Line.Part |
Representation of the part of the Line's text.
|
Line.Set |
Object that represents a snapshot of lines at the time it was created.
|
NbDocument |
Dummy class holding utility methods for working with NetBeans document conventions.
|
PositionBounds |
A range bounded by two
PositionRef s. |
PositionRef |
Reference to one position in a document.
|
PrintPreferences |
Allows get, set properties that specify the look of a printed Source Editor page,
including headers, footers, vertical spacing, and line numbers.
|
StableCompoundEdit |
Similar to Swing's
CompoundEdit but guarantees
stability of internal state even if undo()/redo() throws an exception. |
Enum | Description |
---|---|
Line.ShowOpenType |
ShowOpenType and ShowVisibilityType is replacement for constants SHOW_TRY_SHOW, SHOW_SHOW,
SHOW_GOTO, SHOW_TOFRONT, SHOW_REUSE, SHOW_REUSE_NEW.
|
Line.ShowVisibilityType |
ShowOpenType and ShowVisibilityType is replacement for constants SHOW_TRY_SHOW, SHOW_SHOW,
SHOW_GOTO, SHOW_TOFRONT, SHOW_REUSE, SHOW_REUSE_NEW.
|
PrintPreferences.Alignment |
Constants for center, right, left position of page header, footer.
|
Using the Editor API, it is possible to get access to the Swing-based editor which is being used to edit an open file of whatever content type. This would permit you to test what the user was doing with this file; mechanically retrieve and modify text from the open buffer; prevent certain areas of a textual file from being modified by the user; set annotations in the gutter; and so on.
This API also permits a module implementor to add a custom editor for some or all (probably textual) content types. Essentially, any editor implementation may be used which is capable of being embedded as a Swing EditorKit; handling guarded blocks; and handling breakpoints and the like (for Java source).