pivot.wtk
Interface TextArea.Skin

All Known Implementing Classes:
TextAreaSkin
Enclosing class:
TextArea

public static interface TextArea.Skin

Text area skin interface. Text area skins are required to implement this.

Author:
gbrown

Method Summary
 int getCharacterAt(int x, int y)
          Returns the offset of the character at a given location.
 Bounds getCharacterBounds(int offset)
          Returns the bounds of the character at a given offset within the document.
 

Method Detail

getCharacterAt

int getCharacterAt(int x,
                   int y)
Returns the offset of the character at a given location.

Parameters:
x -
y -
Returns:
The character offset at the given location.

getCharacterBounds

Bounds getCharacterBounds(int offset)
Returns the bounds of the character at a given offset within the document.

Parameters:
offset -
Returns:
The bounds of the character at the given offset.