javax.swing.text.html
Class HTMLEditorKit.HTMLFactory
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 ViewFactory that is able to create Views for
the Elements that are supported.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLEditorKit.HTMLFactory
public HTMLEditorKit.HTMLFactory()
- Constructor
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