Java プラットフォーム 1.2

javax.swing.plaf.basic
クラス BasicEditorPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.TextUI
              |
              +--javax.swing.plaf.basic.BasicTextUI
                    |
                    +--javax.swing.plaf.basic.BasicEditorPaneUI
直接の既知のサブクラス:
BasicTextPaneUI

public class BasicEditorPaneUI
extends BasicTextUI

JEditorPane の Look & Feel を提供します。

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です


クラス 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 を使ってプロパティを参照するためのキーとして使われる名前を取得します。
 
クラス javax.swing.plaf.basic.BasicTextUI から継承したメソッド
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, viewToModel, viewToModel
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicEditorPaneUI

public BasicEditorPaneUI()
新しい BasicEditorPaneUI を作成します。
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent c)
JTextPane の UI を作成します。
パラメータ:
c - JTextPane のコンポーネント
戻り値:
UI

getPropertyPrefix

protected String getPropertyPrefix()
UIManager を使ってプロパティを参照するためのキーとして使われる名前を取得します。この名前は、すべての標準テキストプロパティの接頭辞として使われます。
戻り値:
名前 ("EditorPane")
オーバーライド:
クラス BasicTextUI 内の getPropertyPrefix

getEditorKit

public EditorKit getEditorKit(JTextComponent tc)
UI が使う EditorKit を取得します。これは、関連付けられた JEditorPane に現在設定されているものであれば何でもかまいません。
戻り値:
エディタの機能
オーバーライド:
クラス BasicTextUI 内の getEditorKit
関連項目:
TextUI.getEditorKit(javax.swing.text.JTextComponent)

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.