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 JavaBeans
has been added to the java.beans package.
Please see java..
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ComponentUI | Returns: the UIthe JTextPane object c)Hides javax. Creates a UI for the JTextPane. |
| protected String | Returns: the name ("TextPane")Overrides javax. Fetches the name used as a key to lookup properties through the UIManager. |
| public void | installUI(JComponent c)
Overrides javax. Installs the UI for a component. |
| protected void | propertyChange(PropertyChangeEvent
the property change event evt)Overrides javax. This method gets called when a bound property is changed on the associated JTextComponent. |
| BasicTextPaneUI | back to summary |
|---|---|
| public BasicTextPaneUI() Creates a new BasicTextPaneUI. | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Creates a UI for the JTextPane.
| |
| getPropertyPrefix | back to summary |
|---|---|
| protected String getPropertyPrefix() Overrides javax. Fetches the name used as a key to lookup properties through the UIManager. This is used as a prefix to all the standard text properties.
| |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Installs the UI for a component. This does the following things.
| |
| propertyChange | back to summary |
|---|---|
| protected void propertyChange(PropertyChangeEvent evt) Overrides javax. 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. If the font, foreground or document has changed, the the appropriate property is set in the default style of the document.
| |