Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.awt.font.TextLayout.CaretPolicy

Packages that use TextLayout.CaretPolicy
Package Description
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
Modifier and Type Field and Description
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
Modifier and Type Method and Description
 Shape[] TextLayout.getCaretShapes(int offset, Rectangle2D bounds, TextLayout.CaretPolicy policy)
          Returns two paths corresponding to the strong and weak caret.
 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.
 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™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.