All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.motif.MotifTextAreaUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.TextUI
|
+----java.awt.swing.text.DefaultTextUI
|
+----java.awt.swing.motif.MotifTextUI
|
+----java.awt.swing.motif.MotifTextAreaUI
- public class MotifTextAreaUI
- extends MotifTextUI
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.
MotifTextAreaUI()
-
create(Element)
- Creates the view for an element.
create(Element, int, int)
- 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.
MotifTextAreaUI
public MotifTextAreaUI()
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
create
public View create(Element elem,
int p0,
int p1)
- Creates the view for an element. Since there is
no formatting for the associated component, this
should never be called.
- Parameters:
- elem - the element
- p0 - the starting offset
- p1 - the ending offset
- 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 MotifTextUI
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature