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.
BasicTextAreaUI()
- Constructs a new BasicTextAreaUI object.
create(Element)
- Creates the view for an element.
createUI(JComponent)
- Creates a UI for a JTextArea.
getPropertyPrefix()
- Name used as a key to lookup properties through the
UIManager.
loadDefaultKeymap(Keymap)
- Load the given keymap with default settings
appropriate for the UI being created.
BasicTextAreaUI
public BasicTextAreaUI()
- Constructs a new BasicTextAreaUI object.
createUI
public static ComponentUI createUI(JComponent ta)
- Creates a UI for a JTextArea.
- Parameters:
- ta - a text area
- Returns:
- the UI
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
create
public View create(Element elem)
- Creates the view for an element.
- Parameters:
- elem - the element
- Returns:
- the view
- Overrides:
- create in class DefaultTextUI
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