Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

javax.swing.text
Interface 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 document model.


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

Method Detail

create

public 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

JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.