org.apache.pivot.wtk
Interface TextInput.Skin

All Known Implementing Classes:
TerraTextInputSkin
Enclosing class:
TextInput

public static interface TextInput.Skin

Text input skin interface. Text input 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)
          Returns the insertion point for a given location.
 

Method Detail

getInsertionPoint

int getInsertionPoint(int x)
Returns the insertion point for a given location.

Parameters:
x -
Returns:
The insertion point for 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.