javax.swing.text.html

Class HTMLEditorKit.HTMLFactory

public static class HTMLEditorKit.HTMLFactory extends Object implements ViewFactory

A {@link ViewFactory} that is able to create {@link View}s for the Elements that are supported.
Constructor Summary
HTMLFactory()
Constructor
Method Summary
Viewcreate(Element element)
Creates a {@link View} for the specified Element.

Constructor Detail

HTMLFactory

public HTMLFactory()
Constructor

Method Detail

create

public View create(Element element)
Creates a {@link 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