public class BasicEditorPaneUI extends BasicTextUI
警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースとの互換性がなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4以降、すべてのJavaBeans™用の長期間の格納サポートがjava.beans
パッケージに追加されています。 XMLEncoder
を参照してください。
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でバウンド・プロパティが変更されたときに呼び出されます。
|
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, viewToModel
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
public static ComponentUI createUI(JComponent c)
c
- JTextPaneコンポーネントprotected String getPropertyPrefix()
getPropertyPrefix
、クラスBasicTextUI
public void installUI(JComponent c)
null
またはUIResource
のインスタンスである場合にのみ設定されます。
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
- プロパティ変更イベント バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。