public class BasicEditorPaneUI extends BasicTextUI
JEditorPane
s.BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor and Description |
---|
BasicEditorPaneUI()
Creates a new
BasicEditorPaneUI |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent comp)
Creates an instance of
BasicEditorPaneUI for the text
component comp . |
EditorKit |
getEditorKit(JTextComponent textComponent)
Gets the EditorKit for the text component.
|
protected String |
getPropertyPrefix()
Returns the property prefix to be used by this UI class.
|
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
getToolTipText
contains, getAccessibleChild, getAccessibleChildrenCount
public BasicEditorPaneUI()
BasicEditorPaneUI
public static ComponentUI createUI(JComponent comp)
BasicEditorPaneUI
for the text
component comp
.comp
- the component for which to create an UIcomp
protected String getPropertyPrefix()
EditorPane
in this case.getPropertyPrefix
in class BasicTextUI
EditorPane
public EditorKit getEditorKit(JTextComponent textComponent)
getEditorKit
in class BasicTextUI
textComponent
- the text component for which to fetch the editor kitEditorKit
used for the text component that is managed
by this UI