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()
Disposable
public javax.swing.JComponent getComponent()
getComponent
in class EditorHolder
public void installFocusListener(java.awt.event.FocusListener listener)
installFocusListener
in class EditorHolder
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent
in class EditorHolder
public static TextEditorHolder create(Project project, DocumentContent content)