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

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

Uses of TextLayout in java.awt.font
 

Methods in java.awt.font that return TextLayout
 TextLayout TextMeasurer.getLayout(int start, int limit)
          Returns a TextLayout on the given character range.
 TextLayout TextLayout.getJustifiedLayout(float justificationWidth)
          Creates a copy of this TextLayout justified to the specified width.
 TextLayout LineBreakMeasurer.nextLayout(float wrappingWidth)
          Returns the next layout, and updates the current position.
 TextLayout LineBreakMeasurer.nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)
          Returns the next layout, and updates the current position.
 

Methods in java.awt.font with parameters of type TextLayout
 boolean TextLayout.equals(TextLayout rhs)
          Returns true if the two layouts are equal.
 java.awt.font.TextHitInfo TextLayout.CaretPolicy.getStrongCaret(java.awt.font.TextHitInfo hit1, java.awt.font.TextHitInfo hit2, TextLayout layout)
          Chooses one of the specified TextHitInfo instances as a strong caret in the specified TextLayout.
 


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.