Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
javax.swing.text.View

Packages that use View
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
 

Uses of View in javax.swing.plaf
 

Methods in javax.swing.plaf that return View
abstract  View TextUI.getRootView(JTextComponent t)
          Fetches a View with the allocation of the associated text component (i.e.
 

Uses of View in javax.swing.plaf.basic
 

Methods in javax.swing.plaf.basic that return View
 View BasicTextUI.getRootView(JTextComponent tc)
          Fetches a View with the allocation of the associated text component (i.e.
 View BasicTextUI.create(Element elem)
          Creates a view for an element.
 View BasicTextUI.create(Element elem, int p0, int p1)
          Creates a view for an element.
 View BasicTextAreaUI.create(Element elem)
          Creates the view for an element.
 View BasicTextFieldUI.create(Element elem)
          Creates a view (FieldView) based on an element.
 View BasicPasswordFieldUI.create(Element elem)
          Creates a view (PasswordView) for an element.
 

Methods in javax.swing.plaf.basic with parameters of type View
protected  void BasicTextUI.setView(View v)
          Sets the current root of the view hierarchy and calls invalidate().
 

Uses of View in javax.swing.plaf.multi
 

Methods in javax.swing.plaf.multi that return View
 View MultiTextUI.getRootView(JTextComponent a)
          Call getRootView on each UI handled by this MultiUI.
 

Uses of View in javax.swing.text
 

Subclasses of View in javax.swing.text
 class BoxView
          A view that arranges its children into a box shape by tiling it's children along an axis.
 class ComponentView
          Component decorator that implements the view interface.
 class CompositeView
          A view that is composed of other views (has children).
 class FieldView
          Extends the multi-line plain text view to be suitable for a single-line editor view.
 class IconView
          Icon decorator that implements the view interface.
 class LabelView
          A LabelView is a styled chunk of text that represents a view mapped over an element in the text model.
 class ParagraphView
          View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.
 class PasswordView
          Implements a View suitable for use in JPasswordField UI implementations.
 class PlainView
          Implements View interface for a simple multi-line text view that has text in one font and color.
 class TableView
           Implements View interface for a table, that is composed of an element structure where the child elements of the element this view is responsible for represent rows and the child elements of the row elements are cells.
 class TableView.TableCell
          Deprecated. A table cell can now be any View implementation.
 class TableView.TableRow
          View of a row in a row-centric table.
 class WrappedPlainView
          View of plain text (text with only one font and color) that does line-wrapping.
 

Methods in javax.swing.text that return View
 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)
          Create a view that represents a portion of the element.
 View ViewFactory.create(Element elem)
          Creates a view from the given structural element of a document.
 View LabelView.breakView(int axis, int p0, float pos, float len)
          Breaks this view on the given axis at the given length.
 View LabelView.createFragment(int p0, int p1)
          Creates a view that represents a portion of the element.
 View CompositeView.getView(int n)
          Gets the n-th view in this container.
protected abstract  View CompositeView.getViewAtPoint(int x, int y, Rectangle alloc)
          Fetches the child view at the given point.
protected  View CompositeView.getViewAtPosition(int pos, Rectangle a)
          Fetches the child view that represents the given position in the model.
protected  View BoxView.getViewAtPoint(int x, int y, Rectangle alloc)
          Fetches the child view at the given point.
protected  View TableView.getViewAtPosition(int pos, Rectangle a)
          Fetches the child view that represents the given position in the model.
protected  View TableView.TableRow.getViewAtPosition(int pos, Rectangle a)
          Fetches the child view that represents the given position in the model.
protected  View ParagraphView.getLayoutView(int index)
          The child views of the paragraph are rows which have been used to arrange pieces of the Views that represent the child elements.
protected  View ParagraphView.getViewAtPosition(int pos, Rectangle a)
          Fetches the child view that represents the given position in the model.
 View ParagraphView.breakView(int axis, float len, Shape a)
          Breaks this view on the given axis at the given length.
 

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 PlainView.preferenceChanged(View child, boolean width, boolean height)
          Signals that the desired span has changed.
abstract  void LayeredHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
          When leaf Views (such as LabelView) are rendering they should call into this method.
 void DefaultHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
          When leaf Views (such as LabelView) are rendering they should call into this method.
abstract  Shape LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
           
 Shape DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view)
          Paints a portion of a highlight.
 void CompositeView.insert(int offs, View v)
          Inserts a single child view.
 void CompositeView.append(View v)
          Appends a single child view.
 void CompositeView.replace(int offset, int length, View[] views)
          Replace child views.
 void CompositeView.setParent(View parent)
          Sets the parent of the view.
 void BoxView.replace(int offset, int length, View[] elems)
          Invalidates the layout and resizes the cache of requests/allocations.
 void BoxView.preferenceChanged(View child, boolean width, boolean height)
          This is called by a child to indicated its preferred span has changed.
 void ComponentView.setParent(View p)
          Sets the parent for a child view.
 void TableView.replace(int offset, int length, View[] views)
          Change the child views.
 void TableView.TableRow.replace(int offset, int length, View[] views)
          Change the child views.
 

Uses of View in javax.swing.text.html
 

Subclasses of View in javax.swing.text.html
 class BlockView
          A view implementation to display a block (as a box) with CSS specifications.
 class FormView
          Component decorator that implements the view interface for form elements, <input>, <textarea>, and <select>.
 class InlineView
          Displays the inline element styles based upon css attributes.
 class ListView
          A view implementation to display an html list
 class ObjectView
          Component decorator that implements the view interface for <object> elements.
 

Methods in javax.swing.text.html that return View
 View HTMLEditorKit.HTMLFactory.create(Element elem)
          Creates a view from an element.
 

Methods in javax.swing.text.html with parameters of type View
 void ParagraphView.setParent(View parent)
          Establishes the parent view for this view.
 AttributeSet StyleSheet.getViewAttributes(View v)
          Fetch a set of attributes to use in the view for displaying.
 float StyleSheet.BoxPainter.getInset(int side, View v)
          Fetchs the inset needed on a given side to account for the margin, border, and padding.
 void StyleSheet.BoxPainter.paint(Graphics g, float x, float y, float w, float h, View v)
          Paints the css box according to the attributes given.
 void StyleSheet.ListPainter.paint(Graphics g, float x, float y, float w, float h, View v, int item)
          Paints the css list decoration according to the attributes given.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.