public class TextEditorHolder extends EditorHolder
| Modifier and Type | Class and Description |
|---|---|
static class |
TextEditorHolder.TextEditorHolderFactory |
Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected EditorEx |
myEditor |
protected Wrapper |
myPanel |
| Constructor and Description |
|---|
TextEditorHolder(Project project,
EditorEx editor) |
| Modifier and Type | Method and Description |
|---|---|
static TextEditorHolder |
create(Project project,
DocumentContent content) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
javax.swing.JComponent |
getComponent() |
EditorEx |
getEditor() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
void |
installFocusListener(java.awt.event.FocusListener listener) |
public EditorEx getEditor()
public void dispose()
Disposablepublic javax.swing.JComponent getComponent()
getComponent in class EditorHolderpublic void installFocusListener(java.awt.event.FocusListener listener)
installFocusListener in class EditorHolderpublic javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in class EditorHolderpublic static TextEditorHolder create(Project project, DocumentContent content)