javax.swing.text
Interface ViewFactory

All Known Implementing Classes:
javax.swing.plaf.basic.BasicTextUI, javax.swing.JEditorPane.PlainEditorKit, javax.swing.text.StyledEditorKit.StyledViewFactory

public interface ViewFactory

Unsafe:


Method Summary
 View create(Element elem)
          Enabled: Creates a view from the given structural element of a document.
 

Method Detail

create

public View create(Element elem)
Enabled: Creates a view from the given structural element of a document.

Parameters:
elem - the piece of the document to build a view of
Returns:
the view
See Also:
View


comments?