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 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 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.