All Packages Class Hierarchy This Package Previous Next Index
Interface com.sun.java.swing.text.ViewFactory
- public interface ViewFactory
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 subject.
-
create(Element)
- Creates a view from the given structural element of a
document.
-
create(Element, int, int)
- Creates a view from a portion of the given structural element
of a document.
create
public abstract View create(Element elem)
- 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
create
public abstract View create(Element elem,
int p0,
int p1)
- Creates a view from a portion of the given structural element
of a document.
- Parameters:
- elem - the piece of the document to build a view of
- p0 - the beginning of the range
- p1 - the end of the range
- Returns:
- the view
- See Also:
- View
All Packages Class Hierarchy This Package Previous Next Index