| 
JavaTM 2 Platform Std. Ed. v1.4.1  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Position.Bias | |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. | 
| 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 | Provides user interface objects that combine two or more look and feels. | 
| 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 Position.Bias in javax.swing | 
| Methods in javax.swing with parameters of type Position.Bias | |
 int | 
JList.getNextMatch(String prefix,
             int startIndex,
             Position.Bias bias)
Returns the next list element that starts with a prefix.  | 
 TreePath | 
JTree.getNextMatch(String prefix,
             int startingRow,
             Position.Bias bias)
Returns the TreePath to the next tree element that begins with a prefix.  | 
| Uses of Position.Bias in javax.swing.plaf | 
| Methods in javax.swing.plaf with parameters of type Position.Bias | |
abstract  Rectangle | 
TextUI.modelToView(JTextComponent t,
            int pos,
            Position.Bias bias)
Converts the given location in the model to a place in the view coordinate system.  | 
abstract  int | 
TextUI.viewToModel(JTextComponent t,
            Point pt,
            Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
abstract  int | 
TextUI.getNextVisualPositionFrom(JTextComponent t,
                          int pos,
                          Position.Bias b,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
abstract  int | 
TextUI.getNextVisualPositionFrom(JTextComponent t,
                          int pos,
                          Position.Bias b,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
abstract  void | 
TextUI.damageRange(JTextComponent t,
            int p0,
            int p1,
            Position.Bias firstBias,
            Position.Bias secondBias)
Causes the portion of the view responsible for the given part of the model to be repainted.  | 
abstract  void | 
TextUI.damageRange(JTextComponent t,
            int p0,
            int p1,
            Position.Bias firstBias,
            Position.Bias secondBias)
Causes the portion of the view responsible for the given part of the model to be repainted.  | 
| Uses of Position.Bias in javax.swing.plaf.basic | 
| Methods in javax.swing.plaf.basic with parameters of type Position.Bias | |
 Rectangle | 
BasicTextUI.modelToView(JTextComponent tc,
            int pos,
            Position.Bias bias)
Converts the given location in the model to a place in the view coordinate system.  | 
 int | 
BasicTextUI.viewToModel(JTextComponent tc,
            Point pt,
            Position.Bias[] biasReturn)
Converts the given place in the view coordinate system to the nearest representative location in the model.  | 
 int | 
BasicTextUI.getNextVisualPositionFrom(JTextComponent t,
                          int pos,
                          Position.Bias b,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 int | 
BasicTextUI.getNextVisualPositionFrom(JTextComponent t,
                          int pos,
                          Position.Bias b,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 void | 
BasicTextUI.damageRange(JTextComponent t,
            int p0,
            int p1,
            Position.Bias p0Bias,
            Position.Bias p1Bias)
Causes the portion of the view responsible for the given part of the model to be repainted.  | 
 void | 
BasicTextUI.damageRange(JTextComponent t,
            int p0,
            int p1,
            Position.Bias p0Bias,
            Position.Bias p1Bias)
Causes the portion of the view responsible for the given part of the model to be repainted.  | 
| Uses of Position.Bias in javax.swing.plaf.multi | 
| Methods in javax.swing.plaf.multi with parameters of type Position.Bias | |
 Rectangle | 
MultiTextUI.modelToView(JTextComponent a,
            int b,
            Position.Bias c)
Invokes the modelToView method on each UI handled by this object. | 
 int | 
MultiTextUI.viewToModel(JTextComponent a,
            Point b,
            Position.Bias[] c)
Invokes the viewToModel method on each UI handled by this object. | 
 int | 
MultiTextUI.getNextVisualPositionFrom(JTextComponent a,
                          int b,
                          Position.Bias c,
                          int d,
                          Position.Bias[] e)
Invokes the getNextVisualPositionFrom method on each UI handled by this object. | 
 int | 
MultiTextUI.getNextVisualPositionFrom(JTextComponent a,
                          int b,
                          Position.Bias c,
                          int d,
                          Position.Bias[] e)
Invokes the getNextVisualPositionFrom method on each UI handled by this object. | 
 void | 
MultiTextUI.damageRange(JTextComponent a,
            int b,
            int c,
            Position.Bias d,
            Position.Bias e)
Invokes the damageRange method on each UI handled by this object. | 
 void | 
MultiTextUI.damageRange(JTextComponent a,
            int b,
            int c,
            Position.Bias d,
            Position.Bias e)
Invokes the damageRange method on each UI handled by this object. | 
| Uses of Position.Bias in javax.swing.text | 
| Fields in javax.swing.text declared as Position.Bias | |
static Position.Bias | 
Position.Bias.Forward
Indicates to bias toward the next character in the model.  | 
static Position.Bias | 
Position.Bias.Backward
Indicates a bias toward the previous character in the model.  | 
| Methods in javax.swing.text with parameters of type Position.Bias | |
 Shape | 
PasswordView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
PasswordView.viewToModel(float fx,
            float fy,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 Shape | 
PlainView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
PlainView.viewToModel(float fx,
            float fy,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 Shape | 
FieldView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
FieldView.viewToModel(float fx,
            float fy,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
protected  int | 
AsyncBoxView.getViewIndexAtPosition(int pos,
                       Position.Bias b)
Fetches the child view index representing the given position in the model.  | 
 int | 
AsyncBoxView.getViewIndex(int pos,
             Position.Bias b)
Returns the child view index representing the given position in the model.  | 
 Shape | 
AsyncBoxView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
AsyncBoxView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 int | 
AsyncBoxView.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 int | 
AsyncBoxView.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 Shape | 
IconView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
IconView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 Shape | 
ComponentView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the coordinate space of the model to that of the view.  | 
 int | 
ComponentView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 Shape | 
GlyphView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
GlyphView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 int | 
GlyphView.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 int | 
GlyphView.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
abstract  Shape | 
GlyphView.GlyphPainter.modelToView(GlyphView v,
            int pos,
            Position.Bias bias,
            Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
abstract  int | 
GlyphView.GlyphPainter.viewToModel(GlyphView v,
            float x,
            float y,
            Shape a,
            Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 int | 
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView v,
                          int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 int | 
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView v,
                          int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 Shape | 
CompositeView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 Shape | 
CompositeView.modelToView(int p0,
            Position.Bias b0,
            int p1,
            Position.Bias b1,
            Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 Shape | 
CompositeView.modelToView(int p0,
            Position.Bias b0,
            int p1,
            Position.Bias b1,
            Shape a)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
CompositeView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
 int | 
CompositeView.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 int | 
CompositeView.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location that one might place a caret.  | 
 int | 
CompositeView.getViewIndex(int pos,
             Position.Bias b)
Returns the child view index representing the given position in the model.  | 
protected  int | 
CompositeView.getNextNorthSouthVisualPositionFrom(int pos,
                                    Position.Bias b,
                                    Shape a,
                                    int direction,
                                    Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the north or south direction.  | 
protected  int | 
CompositeView.getNextNorthSouthVisualPositionFrom(int pos,
                                    Position.Bias b,
                                    Shape a,
                                    int direction,
                                    Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the north or south direction.  | 
protected  int | 
CompositeView.getNextEastWestVisualPositionFrom(int pos,
                                  Position.Bias b,
                                  Shape a,
                                  int direction,
                                  Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the east or west direction.  | 
protected  int | 
CompositeView.getNextEastWestVisualPositionFrom(int pos,
                                  Position.Bias b,
                                  Shape a,
                                  int direction,
                                  Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the east or west direction.  | 
protected  boolean | 
CompositeView.flipEastAndWestAtEnds(int position,
                      Position.Bias bias)
Determines in which direction the next view lays.  | 
 Shape | 
BoxView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
BoxView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
protected  boolean | 
BoxView.flipEastAndWestAtEnds(int position,
                      Position.Bias bias)
Determines in which direction the next view lays.  | 
protected  int | 
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos,
                                    Position.Bias b,
                                    Shape a,
                                    int direction,
                                    Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the east or west direction.  | 
protected  int | 
ParagraphView.getNextNorthSouthVisualPositionFrom(int pos,
                                    Position.Bias b,
                                    Shape a,
                                    int direction,
                                    Position.Bias[] biasRet)
Returns the next visual position for the cursor, in either the east or west direction.  | 
protected  int | 
ParagraphView.getClosestPositionTo(int pos,
                     Position.Bias b,
                     Shape a,
                     int direction,
                     Position.Bias[] biasRet,
                     int rowIndex,
                     int x)
Returns the closest model position to x. | 
protected  int | 
ParagraphView.getClosestPositionTo(int pos,
                     Position.Bias b,
                     Shape a,
                     int direction,
                     Position.Bias[] biasRet,
                     int rowIndex,
                     int x)
Returns the closest model position to x. | 
protected  boolean | 
ParagraphView.flipEastAndWestAtEnds(int position,
                      Position.Bias bias)
Determines in which direction the next view lays.  | 
 void | 
NavigationFilter.setDot(NavigationFilter.FilterBypass fb,
       int dot,
       Position.Bias bias)
Invoked prior to the Caret setting the dot.  | 
 void | 
NavigationFilter.moveDot(NavigationFilter.FilterBypass fb,
        int dot,
        Position.Bias bias)
Invoked prior to the Caret moving the dot.  | 
 int | 
NavigationFilter.getNextVisualPositionFrom(JTextComponent text,
                          int pos,
                          Position.Bias bias,
                          int direction,
                          Position.Bias[] biasRet)
Returns the next visual position to place the caret at from an existing position.  | 
 int | 
NavigationFilter.getNextVisualPositionFrom(JTextComponent text,
                          int pos,
                          Position.Bias bias,
                          int direction,
                          Position.Bias[] biasRet)
Returns the next visual position to place the caret at from an existing position.  | 
abstract  void | 
NavigationFilter.FilterBypass.setDot(int dot,
       Position.Bias bias)
Sets the caret location, bypassing the NavigationFilter.  | 
abstract  void | 
NavigationFilter.FilterBypass.moveDot(int dot,
        Position.Bias bias)
Moves the caret location, bypassing the NavigationFilter.  | 
 int | 
View.getViewIndex(int pos,
             Position.Bias b)
Returns the child view index representing the given position in the model.  | 
 int | 
View.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location at which one might place a caret.  | 
 int | 
View.getNextVisualPositionFrom(int pos,
                          Position.Bias b,
                          Shape a,
                          int direction,
                          Position.Bias[] biasRet)
Provides a way to determine the next visually represented model location at which one might place a caret.  | 
abstract  Shape | 
View.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping, for a given character, from the document model coordinate space to the view coordinate space.  | 
 Shape | 
View.modelToView(int p0,
            Position.Bias b0,
            int p1,
            Position.Bias b1,
            Shape a)
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space.  | 
 Shape | 
View.modelToView(int p0,
            Position.Bias b0,
            int p1,
            Position.Bias b1,
            Shape a)
Provides a mapping, for a given region, from the document model coordinate space to the view coordinate space.  | 
abstract  int | 
View.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
| Uses of Position.Bias in javax.swing.text.html | 
| Methods in javax.swing.text.html with parameters of type Position.Bias | |
 Shape | 
ImageView.modelToView(int pos,
            Shape a,
            Position.Bias b)
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.  | 
 int | 
ImageView.viewToModel(float x,
            float y,
            Shape a,
            Position.Bias[] bias)
Provides a mapping from the view coordinate space to the logical coordinate space of the model.  | 
  | 
JavaTM 2 Platform Std. Ed. v1.4.1  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.