public static interface NbDocument.CustomEditor extends Document
StreamDescriptionProperty, TitleProperty
Modifier and Type | Method and Description |
---|---|
Component |
createEditor(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, render
Component createEditor(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 August 30 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.