javax.swing.text.Documentpublic static interface NbDocument.CustomEditor
extends javax.swing.text.Document
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Component |
createEditor(javax.swing.JEditorPane j) |
Create a whole editor component over the given
JEditorPane. |
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, renderjava.awt.Component createEditor(javax.swing.JEditorPane j)
JEditorPane.
The implementation should generally add some kind of scrolling
support to the given JEditorPane (typically with scrollbars),
possibly some other components
according to the desired layout,
and return the resulting container.j - editor pane over which the resulting component
will be builtBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.