Uses of Class java.awt.font.TextLayout.CaretPolicy (Java 2 Platform SE v1.4.1_"07")

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

JavaTM 2 Platform
Std. Ed. v1.4.1_"07"

PREV NEXT | FRAMES NO FRAMES

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

JavaTM 2 Platform
Std. Ed. v1.4.1_"07"

PREV NEXT | FRAMES NO FRAMES

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

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.