APIdia Launch Partner
Top Description Methods
javax.swing.text

public Interface ViewFactory

Known Direct Implementers
javax.swing.text.html.HTMLEditorKit.HTMLFactory, javax.swing.text.html.TableView, javax.swing.JEditorPane.PlainEditorKit, javax.swing.plaf.basic.BasicTextUI, javax.swing.text.StyledEditorKit.StyledViewFactory
Imports
java.awt.Container

A factory to create a view of some portion of document subject. This is intended to enable customization of how views get mapped over a document model.
Author
Timothy Prinzing

Method Summary

Modifier and TypeMethod and Description
public View

Returns:

the view
create
(Element
the piece of the document to build a view of
elem
)

Creates a view from the given structural element of a document.

Method Detail

createback to summary
public View create(Element elem)

Creates a view from the given structural element of a document.

Parameters
elem:Element

the piece of the document to build a view of

Returns:View

the view

See Also
View