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, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorpublic static ComponentUI createUI(JComponent c)
c - JTextPaneコンポーネントprotected String getPropertyPrefix()
getPropertyPrefix、クラスBasicTextUIpublic void installUI(JComponent c)
nullまたはUIResourceのインスタンスである場合にのみ設定されます。
installUI、クラスBasicTextUIc - エディタ・コンポーネントComponentUI.installUI(javax.swing.JComponent)public void uninstallUI(JComponent c)
uninstallUI、クラスBasicTextUIc - エディタ・コンポーネントComponentUI.uninstallUI(javax.swing.JComponent)public EditorKit getEditorKit(JTextComponent tc)
getEditorKit、クラスBasicTextUItc - このUIがインストールされているテキスト・コンポーネントTextUI.getEditorKit(javax.swing.text.JTextComponent)protected void propertyChange(PropertyChangeEvent evt)
propertyChange、クラスBasicTextUIevt - プロパティ変更イベント バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。