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)

Uses of Interface
javax.swing.text.ViewFactory

Packages that use ViewFactory
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of ViewFactory in javax.swing.text
 

Methods in javax.swing.text that return ViewFactory
 ViewFactory View.getViewFactory()
          Fetches the ViewFactory implementation that is feeding the view hierarchy.
abstract  ViewFactory EditorKit.getViewFactory()
          Fetches a factory that is suitable for producing views of any models that are produced by this kit.
 

Methods in javax.swing.text with parameters of type ViewFactory
 void View.insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
          Gives notification that something was inserted into the document in a location that this view is responsible for.
 void View.removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
          Gives notification that something was removed from the document in a location that this view is responsible for.
 void View.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
          Gives notification from the document that attributes were changed in a location that this view is responsible for.
protected  boolean View.updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f)
          Updates the child views in response to receiving notification that the model changed, and there is change record for the element this view is responsible for.
protected  void View.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)
          Forwards the given DocumentEvent to the child views that need to be notified of the change to the model.
protected  void View.forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)
          Forwards the DocumentEvent to the give child 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.