JavaTM Platform
Standard Ed. 6

クラス
javax.swing.JEditorPane の使用

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

javax.swing での JEditorPane の使用
 

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

javax.swing.text での JEditorPane の使用
 

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

JEditorPane 型のパラメータを持つ javax.swing.text のメソッド
 void EditorKit.deinstall(JEditorPane c)
          キットが JEditorPane から削除されているときに呼び出されます。
 void StyledEditorKit.deinstall(JEditorPane c)
          キットが JEditorPane から削除されているときに呼び出されます。
protected  StyledDocument StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e)
          このエディタ区画に関連したドキュメントを取得します。
protected  StyledEditorKit StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e)
          このエディタ区画に関連したエディタキットを取得します。
 void EditorKit.install(JEditorPane c)
          キットが JEditorPane にインストールされるときに呼び出されます。
 void StyledEditorKit.install(JEditorPane c)
          キットが JEditorPane にインストールされているときに呼び出されます。
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 のメソッド
protected  void HTMLEditorKit.LinkController.activateLink(int pos, JEditorPane editor)
          指定された位置がリンクを表す場合は、対応する JEditorPane の linkActivated を呼び出します。
 void HTMLEditorKit.deinstall(JEditorPane c)
          キットが JEditorPane から削除されているときに呼び出されます。
protected  HTMLDocument HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e)
           
protected  HTMLEditorKit HTMLEditorKit.HTMLTextAction.getHTMLEditorKit(JEditorPane e)
           
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 を使用してください。
protected  void HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
          HTMLEditorKit.insertHTML のためのカバーです。
 void HTMLEditorKit.install(JEditorPane c)
          キットが JEditorPane にインストールされるときに呼び出されます。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。