JSR-209 (Final Release)

Uses of Class
javax.swing.text.View

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

Uses of View in javax.swing.text
 

Methods in javax.swing.text that return View
 View ViewFactory.create(Element elem)
          Creates a view from the given structural element of a document.
 View View.getParent()
          Returns the parent of the view.
 View View.getView(int n)
          Gets the nth child view.
 View View.breakView(int axis, int offset, float pos, float len)
          Tries to break this view on the given axis.
 View View.createFragment(int p0, int p1)
          Creates a view that represents a portion of the element.
 

Methods in javax.swing.text with parameters of type View
 void View.preferenceChanged(View child, boolean width, boolean height)
          Child views can call this on the parent to indicate that the preference has changed and should be reconsidered for layout.
 void View.setParent(View parent)
          Establishes the parent view for this view.
 void View.insert(int offs, View v)
          Inserts a single child view.
 void View.append(View v)
          Appends a single child view.
 void View.replace(int offset, int length, View[] views)
          Replaces child views.
protected  void View.forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)
          Forwards the DocumentEvent to the give child view.
 


JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.