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

public Class MotifEditorPaneUI

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

Provides the look and feel for an pluggable content-type 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 component
c
)

Hides javax.swing.plaf.basic.BasicEditorPaneUI.createUI.

Creates a UI for the JTextPane.

Inherited from javax.swing.plaf.basic.BasicEditorPaneUI:
getEditorKitgetPropertyPrefixinstallUIpropertyChangeuninstallUI

Constructor Detail

MotifEditorPaneUIback to summary
public MotifEditorPaneUI()

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.BasicEditorPaneUI.createUI.

Creates a UI for the JTextPane.

Parameters
c:JComponent

the JTextPane component

Returns:ComponentUI

the UI