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

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.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of Position.Bias in javax.swing
 

Methods in javax.swing with parameters of type Position.Bias
 TreePath JTree.getNextMatch(java.lang.String prefix, int startingRow, Position.Bias bias)
          Returns the TreePath to the next tree element that begins with a prefix.
 int JList.getNextMatch(java.lang.String prefix, int startIndex, Position.Bias bias)
          Returns the next list element that starts with a prefix.
 

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


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.