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
java.awt.font.TextLayout.CaretPolicy

Packages that use TextLayout.CaretPolicy
java.awt.font Provides classes and interface relating to fonts. 
 

Uses of TextLayout.CaretPolicy in java.awt.font
 

Fields in java.awt.font declared as TextLayout.CaretPolicy
static TextLayout.CaretPolicy TextLayout.DEFAULT_CARET_POLICY
          This CaretPolicy is used when a policy is not specified by the client.
 

Methods in java.awt.font with parameters of type TextLayout.CaretPolicy
 java.awt.font.TextHitInfo TextLayout.getNextRightHit(int offset, TextLayout.CaretPolicy policy)
          Returns the hit for the next caret to the right (bottom); if no such hit, returns null.
 java.awt.font.TextHitInfo TextLayout.getNextLeftHit(int offset, TextLayout.CaretPolicy policy)
          Returns the hit for the next caret to the left (top); if no such hit, returns null.
 Shape[] TextLayout.getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)
          Returns two paths corresponding to the strong and weak caret.
 


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.