javax.swing.plaf.basic
public class BasicTextPaneUI extends BasicEditorPaneUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor and Description |
---|
BasicTextPaneUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent comp) |
protected String |
getPropertyPrefix()
Returns the prefix for entries in the
UIDefaults table. |
void |
installUI(JComponent c)
Installs this UI on the specified
JTextPane . |
getEditorKit
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
getToolTipText
contains, getAccessibleChild, getAccessibleChildrenCount
public BasicTextPaneUI()
public static ComponentUI createUI(JComponent comp)
protected String getPropertyPrefix()
UIDefaults
table.getPropertyPrefix
in class BasicEditorPaneUI
public void installUI(JComponent c)
JTextPane
. This calls the
super implementation and then adds a default style to the text pane.installUI
in class BasicTextUI
c
- the text pane to install the UI toComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()