| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class BasicEditorPaneUI extends BasicTextUI
Provides the look and feel for a JEditorPane.
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 {@link java.beans.XMLEncoder}.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI |
---|
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter |
Constructor Summary | |
---|---|
Creates a new BasicEditorPaneUI. |
Method Summary | |
---|---|
static ComponentUI |
Creates a UI for the JTextPane. |
EditorKit |
Fetches the EditorKit for the UI. |
protected String |
Fetches the name used as a key to lookup properties through the UIManager. |
void |
Installs the UI for a component. |
protected void |
This method gets called when a bound property is changed on the associated JTextComponent. |
void |
Deinstalls the UI for a component. |
Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
---|
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getPropertyPrefix, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel |
Methods inherited from class javax.swing.plaf.TextUI |
---|
damageRange, damageRange, getEditorKit, getNextVisualPositionFrom, getRootView, getToolTipText, modelToView, modelToView, viewToModel, viewToModel |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicEditorPaneUI()
Method Detail |
---|
public static ComponentUI createUI(JComponent c)
c
- the JTextPane componentpublic EditorKit getEditorKit(JTextComponent tc)
getEditorKit
in class BasicTextUI
tc
protected String getPropertyPrefix()
getPropertyPrefix
in class BasicTextUI
public void installUI(JComponent c)
installUI
in class BasicTextUI
c
protected void propertyChange(PropertyChangeEvent evt)
propertyChange
in class BasicTextUI
evt
- the property change eventpublic void uninstallUI(JComponent c)
uninstallUI
in class BasicTextUI
c
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |