public class

MotifTextAreaUI

extends BasicTextAreaUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.TextUI
       ↳ javax.swing.plaf.basic.BasicTextUI
         ↳ javax.swing.plaf.basic.BasicTextAreaUI
           ↳ com.sun.java.swing.plaf.motif.MotifTextAreaUI

Class Overview

Provides the look and feel for a plain text editor. In this implementation the default UI is extended to act as a simple view factory.

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.

Summary

Public Constructors
MotifTextAreaUI()
Public Methods
static ComponentUI createUI(JComponent ta)
Creates a UI for a JTextArea.
Protected Methods
Caret createCaret()
Creates the object to use for a caret.
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicTextAreaUI
From class javax.swing.plaf.basic.BasicTextUI
From class javax.swing.plaf.TextUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object
From interface javax.swing.text.ViewFactory

Public Constructors

public MotifTextAreaUI ()

Public Methods

public static ComponentUI createUI (JComponent ta)

Creates a UI for a JTextArea.

Parameters
ta a text area
Returns
  • the UI

Protected Methods

protected Caret 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
  • the caret object