public class SynthTextPaneUI extends SynthEditorPaneUI
警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。1.4以降、すべてのJavaBeans(tm)用の長期間の格納サポートがjava.beansパッケージに追加されています。XMLEncoderを参照してください。
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighterDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| コンストラクタと説明 |
|---|
SynthTextPaneUI() |
| 修飾子と型 | メソッドと説明 |
|---|---|
static ComponentUI |
createUI(JComponent c)
JTextPaneのUIを作成します。
|
protected String |
getPropertyPrefix()
UIManagerでプロパティを参照するキーとして使われる名前を取得します。
|
void |
installUI(JComponent c)
コンポーネントのUIをインストールします。
|
void |
paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
ボーダーをペイントします。
|
protected void |
propertyChange(PropertyChangeEvent evt)
このメソッドは、関連付けられたJTextComponentでバウンド・プロパティが変更されたときに呼び出されます。
|
getContext, installDefaults, paint, paintBackground, uninstallDefaults, updategetEditorKit, uninstallUIcreate, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintSafely, setView, uninstallKeyboardActions, uninstallListeners, viewToModel, viewToModelcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehaviorpublic static ComponentUI createUI(JComponent c)
c - JTextPaneオブジェクトprotected String getPropertyPrefix()
getPropertyPrefix、クラス: BasicEditorPaneUIpublic void installUI(JComponent c)
nullまたはUIResourceのインスタンスである場合にのみ設定されます。
installUI、クラス: BasicEditorPaneUIc - エディタ・コンポーネントBasicTextUI.installUI(javax.swing.JComponent), ComponentUI.installUI(javax.swing.JComponent)protected void propertyChange(PropertyChangeEvent evt)
propertyChange、クラス: SynthEditorPaneUIevt - プロパティ変更イベントpublic void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
paintBorder、インタフェース: SynthUIpaintBorder、クラス: SynthEditorPaneUIcontext - コンポーネント・コンテキストg - ペイントされるGraphicsx - X座標y - Y座標w - ボーダーの幅h - ボーダーの高さ バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.