JavaTM Platform
Standard Ed. 6

クラス
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 のメソッド
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)
          tag に一致する offset に位置する、一番深い要素を返します。
protected  Element[] HTMLEditorKit.HTMLTextAction.getElementsAt(HTMLDocument doc, int offset)
          offset を格納する要素から成る配列を返します。
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 を使用してください。
 void HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
          既存のドキュメントに HTML を挿入します。
protected  void HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
          HTMLEditorKit.insertHTML のためのカバーです。
 

HTMLDocument 型のパラメータを持つ javax.swing.text.html のコンストラクタ
HTMLWriter(Writer w, HTMLDocument doc)
          新しい HTMLWriter を作成します。
HTMLWriter(Writer w, HTMLDocument doc, int pos, int len)
          新しい HTMLWriter を作成します。
 


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 も参照してください。