Java Platform 1.2

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.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.