java.awt.font

Class TextLayout.CaretPolicy

public static class TextLayout.CaretPolicy extends Object

Inner class describing a caret policy
Constructor Summary
CaretPolicy()
Method Summary
TextHitInfogetStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)

Constructor Detail

CaretPolicy

public CaretPolicy()

Method Detail

getStrongCaret

public TextHitInfo getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)