public class BasicEditorPaneUI extends BasicTextUI
JEditorPanes.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, viewToModelgetToolTipTextcontains, getAccessibleChild, getAccessibleChildrenCountpublic BasicEditorPaneUI()
BasicEditorPaneUIpublic static ComponentUI createUI(JComponent comp)
BasicEditorPaneUI for the text
component comp.comp - the component for which to create an UIcompprotected String getPropertyPrefix()
EditorPane in this case.getPropertyPrefix in class BasicTextUIEditorPanepublic EditorKit getEditorKit(JTextComponent textComponent)
getEditorKit in class BasicTextUItextComponent - the text component for which to fetch the editor kitEditorKit used for the text component that is managed
by this UI