java.awt.font

Class TextHitInfo

public final class TextHitInfo extends Object

Method Summary
static TextHitInfoafterOffset(int offset)
static TextHitInfobeforeOffset(int offset)
booleanequals(Object obj)
booleanequals(TextHitInfo hitInfo)
intgetCharIndex()
intgetInsertionIndex()
TextHitInfogetOffsetHit(int offset)
TextHitInfogetOtherHit()
inthashCode()
booleanisLeadingEdge()
static TextHitInfoleading(int charIndex)
StringtoString()
static TextHitInfotrailing(int charIndex)

Method Detail

afterOffset

public static TextHitInfo afterOffset(int offset)

beforeOffset

public static TextHitInfo beforeOffset(int offset)

equals

public boolean equals(Object obj)

equals

public boolean equals(TextHitInfo hitInfo)

getCharIndex

public int getCharIndex()

getInsertionIndex

public int getInsertionIndex()

getOffsetHit

public TextHitInfo getOffsetHit(int offset)

getOtherHit

public TextHitInfo getOtherHit()

hashCode

public int hashCode()

isLeadingEdge

public boolean isLeadingEdge()

leading

public static TextHitInfo leading(int charIndex)

toString

public String toString()

trailing

public static TextHitInfo trailing(int charIndex)