|
Préférences
Moteurs de recherche
|
||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0
java.awt.font
|
|||||||||||
| Constructor Summary | |
|---|---|
TextLayout.CaretPolicy()
Constructs a CaretPolicy. |
|
| Method Summary | |
|---|---|
TextHitInfo |
getStrongCaret(TextHitInfo hit1,
TextHitInfo hit2,
TextLayout layout)
Chooses one of the specified TextHitInfo instances as
a strong caret in the specified TextLayout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextLayout.CaretPolicy()
CaretPolicy.
| Method Detail |
|---|
public TextHitInfo getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)
TextHitInfo instances as
a strong caret in the specified TextLayout.
hit1 - a valid hit in layouthit2 - a valid hit in layoutlayout - the TextLayout in which
hit1 and hit2 are used
hit1 or hit2
(or an equivalent TextHitInfo), indicating the
strong caret.