public class HitInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
charIndex
The index of the character which this hit information refers to.
|
private boolean |
leading
Indicates whether the hit is on the leading edge of the character.
|
| Constructor and Description |
|---|
HitInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharIndex() |
int |
getInsertionIndex()
Returns the index of the insertion position.
|
boolean |
isLeading() |
void |
setCharIndex(int charIndex) |
void |
setLeading(boolean leading) |
java.lang.String |
toString() |
private int charIndex
private boolean leading
public int getCharIndex()
public void setCharIndex(int charIndex)
public boolean isLeading()
public void setLeading(boolean leading)
public int getInsertionIndex()
public java.lang.String toString()
toString in class java.lang.Object