FileDocCategorySizeDatePackage
MotifTextPaneUI.javaAPI DocJava SE 5 API1448Fri Aug 26 14:54:48 BST 2005com.sun.java.swing.plaf.motif

MotifTextPaneUI

public class MotifTextPaneUI extends BasicTextPaneUI
Provides the look and feel for a styled text editor.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

author
Timothy Prinzing
version
1.17 12/19/03

Fields Summary
Constructors Summary
Methods Summary
protected javax.swing.text.CaretcreateCaret()
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.

return
the caret object

	return MotifTextUI.createCaret();
    
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)
Creates a UI for the JTextPane.

param
c the JTextPane object
return
the UI

        return new MotifTextPaneUI();