Java Platform 1.2

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  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  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.
 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 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, 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, 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 View.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 View.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.
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.
 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 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.
 Shape LabelView.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 LabelView.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 LabelView.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 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.
 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.
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 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)
          Subclasses may wish to subclass this and conditionally return true based on the position.
 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)
           
 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 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.
protected  boolean ParagraphView.flipEastAndWestAtEnds(int position, Position.Bias bias)
           
protected  int ParagraphView.getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
          Overriden from CompositeView.
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.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
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.