All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicTextAreaUI

java.lang.Object
   |
   +----com.sun.java.swing.plaf.ComponentUI
           |
           +----com.sun.java.swing.plaf.TextUI
                   |
                   +----com.sun.java.swing.text.DefaultTextUI
                           |
                           +----com.sun.java.swing.basic.BasicTextAreaUI

public class BasicTextAreaUI
extends DefaultTextUI
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.


Variable Index

 o KeymapName
The name of the default keymap that will be shared by all BasicTextAreaUI instances unless they arrange for something different.

Constructor Index

 o BasicTextAreaUI()
Constructs a new BasicTextAreaUI object.

Method Index

 o create(Element)
If a subclass wishes to directly implement the factory producing the view(s), it should reimplement this method.
 o create(Element, int, int)
If a subclass wishes to directly implement the factory producing the view(s), it should reimplement this method.
 o createUI(JComponent)
Creates a UI for a JTextArea.
 o installUI(JComponent)
Installs the default keymap after the superclass does its thing.

Variables

 o KeymapName
 public static final String KeymapName
The name of the default keymap that will be shared by all BasicTextAreaUI instances unless they arrange for something different. The keymap will resolve through the JTextController.DEFAULT_KEYMAP.

Constructors

 o BasicTextAreaUI
 public BasicTextAreaUI()
Constructs a new BasicTextAreaUI object.

Methods

 o createUI
 public static ComponentUI createUI(JComponent ta)
Creates a UI for a JTextArea.

Parameters:
ta - a text area
Returns:
the UI
 o installUI
 public void installUI(JComponent c)
Installs the default keymap after the superclass does its thing.

Parameters:
c - a component
Overrides:
installUI in class DefaultTextUI
See Also:
installUI
 o create
 public View create(Element elem)
If a subclass wishes to directly implement the factory producing the view(s), it should reimplement this method.

Overrides:
create in class DefaultTextUI
 o create
 public View create(Element elem,
                    int p0,
                    int p1)
If a subclass wishes to directly implement the factory producing the view(s), it should reimplement this method.

Overrides:
create in class DefaultTextUI

All Packages  Class Hierarchy  This Package  Previous  Next  Index