|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicEditorPaneUI
public class BasicEditorPaneUI
為 JEditorPane 提供外觀。
警告:此類別的序列化物件將與以後的 Swing 版本不相容。當前的序列化支持適用於短期存儲或運行相同 Swing 版本的應用程序之間的 RMI。從 1.4 版本開始,已在 java.beans 套件中添加了支持所有 JavaBeansTM 長期存儲的功能。請參見 XMLEncoder。
| 巢狀類別摘要 |
|---|
| 從類別 javax.swing.plaf.basic.BasicTextUI 繼承的巢狀類別/介面 |
|---|
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter |
| 建構子摘要 | |
|---|---|
BasicEditorPaneUI()
創建新的 BasicEditorPaneUI。 |
|
| 方法摘要 | |
|---|---|
static ComponentUI |
createUI(JComponent c)
創建 JTextPane 的 UI。 |
EditorKit |
getEditorKit(JTextComponent tc)
獲取 UI 的 EditorKit。 |
protected String |
getPropertyPrefix()
獲取用作鍵以通過 UIManager 尋找屬性的名稱。 |
void |
installUI(JComponent c)
安裝元件的 UI。 |
protected void |
propertyChange(PropertyChangeEvent evt)
當關聯的 JTextComponent 上有一個綁定 (bound) 屬性改變時,調用此方法。 |
void |
uninstallUI(JComponent c)
卸載元件的 UI。 |
| 從類別 javax.swing.plaf.ComponentUI 繼承的方法 |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public BasicEditorPaneUI()
| 方法詳細資訊 |
|---|
public static ComponentUI createUI(JComponent c)
c - JTextPane 元件
protected String getPropertyPrefix()
BasicTextUI 中的 getPropertyPrefixpublic void installUI(JComponent c)
BasicTextUI 中的 installUIc - 編輯器元件ComponentUI.installUI(javax.swing.JComponent)public void uninstallUI(JComponent c)
BasicTextUI 中的 uninstallUIc - 編輯器元件ComponentUI.uninstallUI(javax.swing.JComponent)public EditorKit getEditorKit(JTextComponent tc)
BasicTextUI 中的 getEditorKittc - 文本元件,為其安裝此 UI
TextUI.getEditorKit(javax.swing.text.JTextComponent)protected void propertyChange(PropertyChangeEvent evt)
BasicTextUI 中的 propertyChangeevt - 屬性更改事件
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。