JavaTM 2 Platform
Std. Ed. v1.3

クラス
javax.swing.text.html.HTMLDocument の使用

HTMLDocument を使用しているパッケージ
javax.swing.text.html HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。  
 

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

HTMLDocument を返す javax.swing.text.html のメソッド
protected  HTMLDocument HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e)
           
 

HTMLDocument 型のパラメータを持つ javax.swing.text.html のメソッド
 void HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
          既存のドキュメントに HTML を挿入します。
protected  Element[] HTMLEditorKit.HTMLTextAction.getElementsAt(HTMLDocument doc, int offset)
          offset が格納されている Element の配列を返します。
protected  int HTMLEditorKit.HTMLTextAction.elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)
          もっとも深い葉を始点として、tag を表す要素に至るまでに必要な要素の数を返します。
protected  Element HTMLEditorKit.HTMLTextAction.findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)
          offset の位置で、 tag に一致するもっとも深い要素を返します。
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 を使用してください。
 

HTMLDocument 型のパラメータを持つ javax.swing.text.html のコンストラクタ
HTMLDocument.HTMLReader(int offset)
           
HTMLDocument.HTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag)
           
HTMLDocument.RunElement(Element parent, AttributeSet a, int offs0, int offs1)
          ドキュメント内のコンテンツを表す (子を持たない) 要素を作成します。
HTMLDocument.BlockElement(Element parent, AttributeSet a)
          最初は子を含まない、複合要素を作成します。
HTMLWriter(Writer w, HTMLDocument doc)
          新しい HTMLWriter を作成します。
HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)
          新しい HTMLWriter を作成します。
 


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.