javax.swing.plaf.basic

Class BasicTextPaneUI

public class BasicTextPaneUI extends BasicEditorPaneUI

Constructor Summary
BasicTextPaneUI()
Method Summary
static ComponentUIcreateUI(JComponent comp)
protected StringgetPropertyPrefix()
Returns the prefix for entries in the {@link UIDefaults} table.
voidinstallUI(JComponent c)
Installs this UI on the specified JTextPane.

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 {@link UIDefaults} table.

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.

Parameters: c the text pane to install the UI to