JavaTM 2 Platform
Std. Ed. v1.3

クラス
javax.swing.JEditorPane の使用

JEditorPane を使用しているパッケージ
javax.swing すべてのプラットフォームで可能な限り同じように機能する、「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.text 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.text.html HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。  
 

javax.swing での JEditorPane の使用
 

javax.swing での JEditorPane のサブクラス
 class JTextPane
          グラフィックで表現される属性でマークアップできるテキストコンポーネントです。
 

JEditorPane 型のパラメータを持つ javax.swing のコンストラクタ
JEditorPane.AccessibleJEditorPane()
           
JEditorPane.AccessibleJEditorPaneHTML()
           
JEditorPane.JEditorPaneAccessibleHypertextSupport()
          パピーのいずれかを作成します。
 

javax.swing.text での JEditorPane の使用
 

JEditorPane を返す javax.swing.text のメソッド
protected  JEditorPane StyledEditorKit.StyledTextAction.getEditor(ActionEvent e)
          アクションのターゲットエディタを取得します。
 

JEditorPane 型のパラメータを持つ javax.swing.text のメソッド
 void EditorKit.install(JEditorPane c)
          キットが JEditorPane にインストールされるときに呼び出されます。
 void EditorKit.deinstall(JEditorPane c)
          キットが JEditorPane から削除されているときに呼び出されます。
 void StyledEditorKit.install(JEditorPane c)
          キットが JEditorPane にインストールされているときに呼び出されます。
 void StyledEditorKit.deinstall(JEditorPane c)
          キットが JEditorPane から削除されているときに呼び出されます。
protected  StyledDocument StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e)
          エディタ区画に関連したドキュメントを取得します。
protected  StyledEditorKit StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e)
          エディタ区画に関連したエディタキットを取得します。
protected  void StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
          指定された属性を文字コンテンツに適用します。
protected  void StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
          指定された属性を段落に適用します。
 

javax.swing.text.html での JEditorPane の使用
 

JEditorPane 型のパラメータを持つ javax.swing.text.html のメソッド
 void HTMLEditorKit.install(JEditorPane c)
          キットが JEditorPane にインストールされるときに呼び出されます。
 void HTMLEditorKit.deinstall(JEditorPane c)
          キットが JEditorPane から削除されているときに呼び出されます。
protected  void HTMLEditorKit.LinkController.activateLink(int pos, JEditorPane editor)
          指定された位置がリンクを表す場合は、対応する JEditorPane の linkActivated を呼び出します。
protected  HTMLDocument HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e)
           
protected  HTMLEditorKit HTMLEditorKit.HTMLTextAction.getHTMLEditorKit(JEditorPane e)
           
protected  void HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
          HTMLEditorKit.insertHTML のためのカバーです。
protected  void HTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
          境界に挿入するときに呼び出されます。
protected  void HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
          推奨されていません。 Java 2 プラットフォーム v1.3 においては insertAtBoundary を使用してください。
 


JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.