public class BasicEditorPaneUI extends BasicTextUI
 警告:此类的序列化对象与将来的Swing版本不兼容。 当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。 从1.4版本开始,所有JavaBeans的长期存储支持已被添加到java.beans软件包中。 请参阅XMLEncoder 。 
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter| Constructor and Description | 
|---|
| BasicEditorPaneUI()
              创建一个新的BasicEditorPaneUI。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| static ComponentUI | createUI(JComponent c)
              为JTextPane创建一个UI。 
             | 
| EditorKit | getEditorKit(JTextComponent tc)
              获取用户界面的EditorKit。 
             | 
| protected String | getPropertyPrefix()
              获取通过UIManager查找属性的键。 
             | 
| void | installUI(JComponent c)
              安装组件的UI。 
             | 
| protected void | propertyChange(PropertyChangeEvent evt)
              当在关联的JTextComponent上更改bound属性时,将调用此方法。 
             | 
| void | uninstallUI(JComponent c)
              卸载组件的UI。 
             | 
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, update, viewToModel, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorpublic static ComponentUI createUI(JComponent c)
c - JTextPane组件 
           protected String getPropertyPrefix()
getPropertyPrefix在 
            BasicTextUI 
           public void installUI(JComponent c)
null或null的实例时,才会设置这些属性 。 installUI在 
            BasicTextUI类 
           c - 编辑器组件 
           ComponentUI.installUI(javax.swing.JComponent) 
           public void uninstallUI(JComponent c)
uninstallUI在 
            BasicTextUI 
           c - 编辑器组件 
           ComponentUI.uninstallUI(javax.swing.JComponent) 
           public EditorKit getEditorKit(JTextComponent tc)
getEditorKit在类 
            BasicTextUI 
           tc - 安装此UI的文本组件 
           TextUI.getEditorKit(javax.swing.text.JTextComponent) 
           protected void propertyChange(PropertyChangeEvent evt)
propertyChange在 
            BasicTextUI类 
           evt - 财产变更事件 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.