javax.swing.plaf.basic
Class BasicTextPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicEditorPaneUI
javax.swing.plaf.basic.BasicTextPaneUI
- All Implemented Interfaces:
- ViewFactory
public class BasicTextPaneUI
- extends BasicEditorPaneUI
Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTextPaneUI
public BasicTextPaneUI()
createUI
public static ComponentUI createUI(JComponent comp)
getPropertyPrefix
protected String getPropertyPrefix()
- Returns the prefix for entries in the
UIDefaults
table.
- Overrides:
getPropertyPrefix
in class BasicEditorPaneUI
- Returns:
- "TextPane"
installUI
public void installUI(JComponent c)
- Installs this UI on the specified
JTextPane
. This calls the
super implementation and then adds a default style to the text pane.
- Overrides:
installUI
in class BasicTextUI
- Parameters:
c
- the text pane to install the UI to- See Also:
ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()