All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.basic.BasicTextAreaUI

java.lang.Object
    |
    +----java.awt.swing.plaf.ComponentUI
            |
            +----java.awt.swing.plaf.TextUI
                    |
                    +----java.awt.swing.text.DefaultTextUI
                            |
                            +----java.awt.swing.basic.BasicTextUI
                                    |
                                    +----java.awt.swing.basic.BasicTextAreaUI

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


Constructor Index

 o BasicTextAreaUI()
Constructs a new BasicTextAreaUI object.

Method Index

 o create(Element)
Creates the view for an element.
 o createUI(JComponent)
Creates a UI for a JTextArea.
 o getPropertyPrefix()
Name used as a key to lookup properties through the UIManager.
 o loadDefaultKeymap(Keymap)
Load the given keymap with default settings appropriate for the UI being created.

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 getPropertyPrefix
protected String getPropertyPrefix()
Name used as a key to lookup properties through the UIManager. This is used as a prefix to all the standard text properties.

Overrides:
getPropertyPrefix in class DefaultTextUI
 o create
public View create(Element elem)
Creates the view for an element.

Parameters:
elem - the element
Returns:
the view
Overrides:
create in class DefaultTextUI
 o loadDefaultKeymap
protected void loadDefaultKeymap(Keymap map)
Load the given keymap with default settings appropriate for the UI being created. This is implemented to do the superclass behavior as well as load the settings appropriate for a multi-line text editor.

Overrides:
loadDefaultKeymap in class BasicTextUI

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature