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

クラスHTMLEditorKit.HTMLFactory

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


    public static class HTMLEditorKit.HTMLFactory
    extends Object
    implements ViewFactory
    HTML用のビューを作成するファクトリです。 次の表は、このファクトリがデフォルトで作成するビューの一覧です。
    このファクトリがデフォルトで作成するタグとビューを示します
    タグ 作成されるビュー
    HTML.Tag.CONTENTInlineView
    HTML.Tag.IMPLIEDjavax.swing.text.html.ParagraphView
    HTML.Tag.Pjavax.swing.text.html.ParagraphView
    HTML.Tag.H1javax.swing.text.html.ParagraphView
    HTML.Tag.H2javax.swing.text.html.ParagraphView
    HTML.Tag.H3javax.swing.text.html.ParagraphView
    HTML.Tag.H4javax.swing.text.html.ParagraphView
    HTML.Tag.H5javax.swing.text.html.ParagraphView
    HTML.Tag.H6javax.swing.text.html.ParagraphView
    HTML.Tag.DTjavax.swing.text.html.ParagraphView
    HTML.Tag.MENUListView
    HTML.Tag.DIRListView
    HTML.Tag.ULListView
    HTML.Tag.OLListView
    HTML.Tag.LIBlockView
    HTML.Tag.DLBlockView
    HTML.Tag.DDBlockView
    HTML.Tag.BODYBlockView
    HTML.Tag.HTMLBlockView
    HTML.Tag.CENTERBlockView
    HTML.Tag.DIVBlockView
    HTML.Tag.BLOCKQUOTEBlockView
    HTML.Tag.PREBlockView
    HTML.Tag.BLOCKQUOTEBlockView
    HTML.Tag.PREBlockView
    HTML.Tag.IMGImageView
    HTML.Tag.HRHRuleView
    HTML.Tag.BRBRView
    HTML.Tag.TABLEjavax.swing.text.html.TableView
    HTML.Tag.INPUTFormView
    HTML.Tag.SELECTFormView
    HTML.Tag.TEXTAREAFormView
    HTML.Tag.OBJECTObjectView
    HTML.Tag.FRAMESETFrameSetView
    HTML.Tag.FRAMEFrameView
    • コンストラクタの詳細

      • HTMLFactory

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

      • create

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