| public class javax.swing.plaf.basic BasicTextAreaUI
|
Java SE 6 |
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see java.beans.XMLEncoder.
| version | 1.75 04/20/06 |
| Constructors | |
|---|---|
| public | BasicTextAreaUI() Constructs a new BasicTextAreaUI object. |
| Methods | |||||
|---|---|---|---|---|---|
| public View | create(Element elem) Details
Creates the view for an element. Returns a WrappedPlainView or
PlainView.
| ||||
| public static ComponentUI | createUI(JComponent ta) Details
Creates a UI for a JTextArea.
| ||||
| protected void | installDefaults() | ||||
| protected void | propertyChange(PropertyChangeEvent evt) Details
This method gets called when a bound property is changed
on the associated JTextComponent. This is a hook
which UI implementations may change to reflect how the
UI displays bound properties of JTextComponent subclasses.
This is implemented to rebuild the View when the
WrapLine or the WrapStyleWord property changes.
| ||||
| Properties | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| public int | getBaseline(JComponent c, int width, int height) Details
Returns the baseline.
| ||||||||
| public Component.BaselineResizeBehavior | getBaselineResizeBehavior(JComponent c) Details
Returns an enum indicating how the baseline of the component
changes as the size changes.
| ||||||||
| public Dimension | getMinimumSize(JComponent c) Details
The method is overridden to take into account caret width.
| ||||||||
| public Dimension | getPreferredSize(JComponent c) Details
The method is overridden to take into account caret width.
| ||||||||
| protected String | getPropertyPrefix() Details
Fetches the name used as a key to look up properties through the
UIManager. This is used as a prefix to all the standard
text properties.
| ||||||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2013 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|