- java.lang.Object
-
- javax.swing.text.html.HTMLEditorKit.HTMLFactory
-
- All Implemented Interfaces:
- ViewFactory
- Enclosing class:
- HTMLEditorKit
public static class HTMLEditorKit.HTMLFactory extends Object implements ViewFactory
A factory to build views for HTML. The following table describes what this factory will build by default.Tag View created 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
-
-
Constructor Summary
Constructors Constructor and Description HTMLEditorKit.HTMLFactory()
-
-
-
Method Detail
-
create
public View create(Element elem)
Creates a view from an element.- Specified by:
create
in interfaceViewFactory
- Parameters:
elem
- the element- Returns:
- the view
- See Also:
View
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/text/html/HTMLEditorKit.HTMLFactory.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.