javax.swing.text.html
Class HTMLEditorKit.HTMLFactory

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

public static class HTMLEditorKit.HTMLFactory
extends Object
implements ViewFactory

A ViewFactory that is able to create Views for the Elements that are supported.


Constructor Summary
HTMLEditorKit.HTMLFactory()
          Constructor
 
Method Summary
 View create(Element element)
          Creates a View for the specified Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLEditorKit.HTMLFactory

public HTMLEditorKit.HTMLFactory()
Constructor

Method Detail

create

public View create(Element element)
Creates a View for the specified Element.

Specified by:
create in interface ViewFactory
Parameters:
element - the Element to create a View for
Returns:
the View for the specified Element or null if the type of element is not supported