Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bounds
getCharacterBounds(int index)
int
getInsertionPoint(int x)
-
-
-
Method Detail
-
getInsertionPoint
int getInsertionPoint(int x)
- Parameters:
x
- The X-position (of the mouse probably).- Returns:
- The insertion point for a given location.
-
getCharacterBounds
Bounds getCharacterBounds(int index)
- Parameters:
index
- The location to check.- Returns:
- The bounds of the character at a given index.
-
-