|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface TextPane.Skin
Text pane skin interface. Text pane skins are required to implement this.
| Method Summary | |
|---|---|
Bounds |
getCharacterBounds(int offset)
Returns the bounds of the character at a given offset within the document. |
int |
getInsertionPoint(int x,
int y)
Returns the insertion point for a given location. |
int |
getNextInsertionPoint(int x,
int from,
TextPane.ScrollDirection direction)
Returns the next insertion point given an x coordinate and a character offset. |
int |
getRowAt(int offset)
Returns the row index of the character at a given offset within the document. |
int |
getRowCount()
Returns the total number of rows in the document. |
| Method Detail |
|---|
int getInsertionPoint(int x,
int y)
x - y -
int getNextInsertionPoint(int x,
int from,
TextPane.ScrollDirection direction)
x - from - direction -
int getRowAt(int offset)
offset -
int getRowCount()
Bounds getCharacterBounds(int offset)
offset -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||