モジュール java.desktop
パッケージ javax.swing.text.html

クラスHTMLEditorKit.HTMLFactory

  • すべての実装されたインタフェース:
    ViewFactory
    含まれているクラス:
    HTMLEditorKit

    public static class HTMLEditorKit.HTMLFactory
    extends Object
    implements ViewFactory
    HTML用のビューを作成するファクトリです。 次の表は、このファクトリがデフォルトで作成するビューの一覧です。
    このファクトリがデフォルトで作成するタグとビューを示します
    タグ 作成されるビュー
    HTML.Tag.CONTENT InlineView
    HTML.Tag.IMPLIED javax.swing.text.html.ParagraphView
    HTML.Tag.P javax.swing.text.html.ParagraphView
    HTML.Tag.H1 javax.swing.text.html.ParagraphView
    HTML.Tag.H2 javax.swing.text.html.ParagraphView
    HTML.Tag.H3 javax.swing.text.html.ParagraphView
    HTML.Tag.H4 javax.swing.text.html.ParagraphView
    HTML.Tag.H5 javax.swing.text.html.ParagraphView
    HTML.Tag.H6 javax.swing.text.html.ParagraphView
    HTML.Tag.DT javax.swing.text.html.ParagraphView
    HTML.Tag.MENU ListView
    HTML.Tag.DIR ListView
    HTML.Tag.UL ListView
    HTML.Tag.OL ListView
    HTML.Tag.LI BlockView
    HTML.Tag.DL BlockView
    HTML.Tag.DD BlockView
    HTML.Tag.BODY BlockView
    HTML.Tag.HTML BlockView
    HTML.Tag.CENTER BlockView
    HTML.Tag.DIV BlockView
    HTML.Tag.BLOCKQUOTE BlockView
    HTML.Tag.PRE BlockView
    HTML.Tag.BLOCKQUOTE BlockView
    HTML.Tag.PRE BlockView
    HTML.Tag.IMG ImageView
    HTML.Tag.HR HRuleView
    HTML.Tag.BR BRView
    HTML.Tag.TABLE javax.swing.text.html.TableView
    HTML.Tag.INPUT FormView
    HTML.Tag.SELECT FormView
    HTML.Tag.TEXTAREA FormView
    HTML.Tag.OBJECT ObjectView
    HTML.Tag.FRAMESET FrameSetView
    HTML.Tag.FRAME FrameView
    • コンストラクタの詳細

      • HTMLFactory

        public HTMLFactory()
    • メソッドの詳細

      • create

        public View create​(Element elem)
        要素からビューを作成します。
        定義:
        create、インタフェース: ViewFactory
        パラメータ:
        elem - 要素
        戻り値:
        ビュー
        関連項目:
        View