javax.swing.text.html

Class HTMLEditorKit.HTMLFactory

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
HTMLFactory()
Constructor
Method Summary
Viewcreate(Element element)
Creates a View for the specified Element.

Constructor Detail

HTMLFactory

public HTMLFactory()
Constructor

Method Detail

create

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

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