javax.swing.plaf.basic
Class BasicTextPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TextUI
          extended by javax.swing.plaf.basic.BasicTextUI
              extended by javax.swing.plaf.basic.BasicEditorPaneUI
                  extended by javax.swing.plaf.basic.BasicTextPaneUI
All Implemented Interfaces:
ViewFactory

public class BasicTextPaneUI
extends BasicEditorPaneUI


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
 
Constructor Summary
BasicTextPaneUI()
           
 
Method Summary
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.
 
Methods inherited from class javax.swing.plaf.basic.BasicEditorPaneUI
getEditorKit
 
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 javax.swing.plaf.TextUI
getToolTipText
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTextPaneUI

public BasicTextPaneUI()
Method Detail

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()