javax.swing.text.html
Class HTMLEditorKit.HTMLFactory

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.text.html.HTMLEditorKit.HTMLFactory
All Implemented Interfaces:
ViewFactory sample code for javax.swing.text.ViewFactory definition code for javax.swing.text.ViewFactory
Enclosing class:
HTMLEditorKit sample code for javax.swing.text.html.HTMLEditorKit definition code for javax.swing.text.html.HTMLEditorKit

public static class HTMLEditorKit.HTMLFactory
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements ViewFactory sample code for javax.swing.text.ViewFactory definition code for javax.swing.text.ViewFactory

A factory to build views for HTML. The following table describes what this factory will build by default.

TagView created
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


Constructor Summary
HTMLEditorKit.HTMLFactory sample code for javax.swing.text.html.HTMLEditorKit.HTMLFactory.HTMLEditorKit.HTMLFactory() definition code for javax.swing.text.html.HTMLEditorKit.HTMLFactory.HTMLEditorKit.HTMLFactory() ()
           
 
Method Summary
 View sample code for javax.swing.text.View definition code for javax.swing.text.View create sample code for javax.swing.text.html.HTMLEditorKit.HTMLFactory.create(javax.swing.text.Element) definition code for javax.swing.text.html.HTMLEditorKit.HTMLFactory.create(javax.swing.text.Element) (Element sample code for javax.swing.text.Element definition code for javax.swing.text.Element  elem)
          Creates a view from an element.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

HTMLEditorKit.HTMLFactory sample code for javax.swing.text.html.HTMLEditorKit.HTMLFactory() definition code for javax.swing.text.html.HTMLEditorKit.HTMLFactory()

public HTMLEditorKit.HTMLFactory()
Method Detail

create sample code for javax.swing.text.html.HTMLEditorKit.HTMLFactory.create(javax.swing.text.Element) definition code for javax.swing.text.html.HTMLEditorKit.HTMLFactory.create(javax.swing.text.Element)

public View sample code for javax.swing.text.View definition code for javax.swing.text.View  create(Element sample code for javax.swing.text.Element definition code for javax.swing.text.Element  elem)
Creates a view from an element.

Specified by:
create sample code for javax.swing.text.ViewFactory.create(javax.swing.text.Element) definition code for javax.swing.text.ViewFactory.create(javax.swing.text.Element) in interface ViewFactory sample code for javax.swing.text.ViewFactory definition code for javax.swing.text.ViewFactory
Parameters:
elem - the element
Returns:
the view
See Also:
View sample code for javax.swing.text.View definition code for javax.swing.text.View