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)

javax.swing.text
Class Position.Bias

java.lang.Object
  extended byjavax.swing.text.Position.Bias
Enclosing class:
Position

public static final class Position.Bias
extends java.lang.Object

A typesafe enumeration to indicate bias to a position in the model. A position indicates a location between two characters. The bias can be used to indicate an interest toward one of the two sides of the position in boundary conditions where a simple offset is ambiguous.


Field Summary
static Position.Bias Backward
          Indicates a bias toward the previous character in the model.
static Position.Bias Forward
          Indicates to bias toward the next character in the model.
 
Method Summary
 java.lang.String toString()
          string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Forward

public static final Position.Bias Forward
Indicates to bias toward the next character in the model.


Backward

public static final Position.Bias Backward
Indicates a bias toward the previous character in the model.

Method Detail

toString

public java.lang.String toString()
string representation


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.
ing HTML relocated from here.-