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.
-
KeymapName
- The name of the default keymap that will be shared
by all BasicTextAreaUI instances unless they arrange for something
different.
-
BasicTextAreaUI()
- Constructs a new BasicTextAreaUI object.
-
create(Element)
- If a subclass wishes to directly implement the factory
producing the view(s), it should reimplement this
method.
-
create(Element, int, int)
- If a subclass wishes to directly implement the factory
producing the view(s), it should reimplement this
method.
-
createUI(JComponent)
- Creates a UI for a JTextArea.
-
installUI(JComponent)
- Installs the default keymap after the superclass does its
thing.
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.
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
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
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
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