Top Description Constructors Methods
com.sun.java.swing.plaf.motif

public Class MotifTextPaneUI

extends BasicTextPaneUI
Class Inheritance
Imports
javax.swing.JComponent, javax.swing.plaf.ComponentUI, javax.swing.plaf.basic.BasicTextPaneUI, javax.swing.text.Caret

Provides the look and feel for a styled text editor.
Author
Timothy Prinzing

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Caret

Returns:

the caret object
createCaret
()

Overrides javax.swing.plaf.basic.BasicTextUI.createCaret.

Creates the object to use for a caret.

public static ComponentUI

Returns:

the UI
createUI
(JComponent
the JTextPane object
c
)

Hides javax.swing.plaf.basic.BasicTextPaneUI.createUI.

Creates a UI for the JTextPane.

Inherited from javax.swing.plaf.basic.BasicTextPaneUI:
getPropertyPrefixinstallUIpropertyChange

Constructor Detail

MotifTextPaneUIback to summary
public MotifTextPaneUI()

Method Detail

createCaretback to summary
protected Caret createCaret()

Overrides javax.swing.plaf.basic.BasicTextUI.createCaret.

Creates the object to use for a caret. By default an instance of MotifTextUI.MotifCaret is created. This method can be redefined to provide something else that implements the Caret interface.

Returns:Caret

the caret object

createUIback to summary
public static ComponentUI createUI(JComponent c)

Hides javax.swing.plaf.basic.BasicTextPaneUI.createUI.

Creates a UI for the JTextPane.

Parameters
c:JComponent

the JTextPane object

Returns:ComponentUI

the UI