Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.swing.text.Position.Bias

Packages that use Position.Bias
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.

Uses of Position.Bias in javax.swing.plaf

Methods in javax.swing.plaf with parameters of type Position.Bias
`abstract java.awt.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, java.awt.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 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
`java.awt.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, java.awt.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.
`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
`java.awt.Rectangle` | `MultiTextUI.modelToView(JTextComponent t, int pos, Position.Bias bias)` Converts the given location in the model to a place in the view coordinate system.
`int` | `MultiTextUI.viewToModel(JTextComponent t, java.awt.Point pt, Position.Bias[] biasReturn)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`int` | `MultiTextUI.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` | `MultiTextUI.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.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
`int` | `View.getNextVisualPositionFrom(int pos, Position.Bias b, java.awt.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 java.awt.Shape` | `View.modelToView(int pos, java.awt.Shape a, Position.Bias b)` Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
`java.awt.Shape` | `View.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, java.awt.Shape a)` Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
`abstract int` | `View.viewToModel(float x, float y, java.awt.Shape a, Position.Bias[] biasReturn)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`java.awt.Shape` | `IconView.modelToView(int pos, java.awt.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, java.awt.Shape a, Position.Bias[] bias)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`java.awt.Shape` | `PlainView.modelToView(int pos, java.awt.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, java.awt.Shape a, Position.Bias[] bias)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`java.awt.Shape` | `FieldView.modelToView(int pos, java.awt.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, java.awt.Shape a, Position.Bias[] bias)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`int` | `LabelView.getNextVisualPositionFrom(int pos, Position.Bias b, java.awt.Shape a, int direction, Position.Bias[] biasRet)` Provides a way to determine the next visually represented model location that one might place a caret.
`java.awt.Shape` | `LabelView.modelToView(int pos, java.awt.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` | `LabelView.viewToModel(float x, float y, java.awt.Shape a, Position.Bias[] biasReturn)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`java.awt.Shape` | `CompositeView.modelToView(int pos, java.awt.Shape a, Position.Bias b)` Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
`java.awt.Shape` | `CompositeView.modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, java.awt.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, java.awt.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, java.awt.Shape a, int direction, Position.Bias[] biasRet)` Provides a way to determine the next visually represented model location that one might place a caret.
`protected int` | `CompositeView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, java.awt.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, java.awt.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)` Subclasses may wish to subclass this and conditionally return true based on the position.
`java.awt.Shape` | `BoxView.modelToView(int pos, java.awt.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, java.awt.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)`
`java.awt.Shape` | `PasswordView.modelToView(int pos, java.awt.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, java.awt.Shape a, Position.Bias[] bias)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`java.awt.Shape` | `LabelView2D.modelToView(int pos, java.awt.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` | `LabelView2D.viewToModel(float x, float y, java.awt.Shape a, Position.Bias[] biasReturn)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`int` | `LabelView2D.getNextVisualPositionFrom(int pos, Position.Bias b, java.awt.Shape a, int direction, Position.Bias[] biasRet)` Provides a way to determine the next visually represented model location that one might place a caret.
`java.awt.Shape` | `ComponentView.modelToView(int pos, java.awt.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, java.awt.Shape a, Position.Bias[] bias)` Provides a mapping from the view coordinate space to the logical coordinate space of the model.
`protected boolean` | `ParagraphView.flipEastAndWestAtEnds(int position, Position.Bias bias)`
`protected int` | `ParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, java.awt.Shape a, int direction, Position.Bias[] biasRet)` Overriden from CompositeView.
`protected int` | `ParagraphView.getClosestPositionTo(int pos, Position.Bias b, java.awt.Shape a, int direction, Position.Bias[] biasRet, int rowIndex, int x)` Returns the closest model position to `x`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

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