|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TextArea.Skin
Text area skin interface. Text area skins are required to implement this.
Method Summary | |
---|---|
Bounds |
getCharacterBounds(int index)
Returns the bounds of the character at a given index. |
int |
getInsertionPoint(int x,
int y)
Returns the insertion point for a given location. |
int |
getNextInsertionPoint(int x,
int from,
TextArea.ScrollDirection direction)
Returns the next insertion point given an x coordinate and a character index. |
int |
getRowAt(int index)
Returns the row index of the character at a given index. |
int |
getRowCount()
Returns the total number of rows in the text area. |
int |
getRowLength(int index)
Returns the number of characters in the row containing a given character index. |
int |
getRowOffset(int index)
Returns the index of the first character in the row containing a given character index. |
int |
getTabWidth()
Returns the current setting of the "tabWidth" style (so "setText" uses the same value as Ctrl-Tab from user). |
Method Detail |
---|
int getInsertionPoint(int x, int y)
x
- y
- int getNextInsertionPoint(int x, int from, TextArea.ScrollDirection direction)
x
- from
- direction
- int getRowAt(int index)
index
- int getRowOffset(int index)
index
- int getRowLength(int index)
index
- int getRowCount()
Bounds getCharacterBounds(int index)
index
- int getTabWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |