| java.lang.Object com.sun.midp.lcdui.TextCursor
TextCursor | public class TextCursor (Code) | | Class that represents the character index, and (x,y) position
of a text cursor in a TextField
|
index | public int index(Code) | | array index
|
option | public int option(Code) | | drawing options: can be one of the PAINT_* variables in Text.java
|
preferredX | public int preferredX(Code) | | preferred x location when traversing vertically
|
visible | public boolean visible(Code) | | whether or not this cursor is visible
|
widthheight | public int widthheight(Code) | | width, height
|
xy | public int xy(Code) | | x, y coordinates
|
yOffset | public int yOffset(Code) | | yOffset to modify paint by for calculating h value
|
TextCursor | public TextCursor(int index)(Code) | | Construct a new text cursor with the given array index
Parameters: index - index into the array that this cursor will be drawn |
TextCursor | public TextCursor(TextCursor tc)(Code) | | Copy a TextCursor object
Parameters: tc - TextCursor object to copy |
paint | public void paint(Graphics g)(Code) | | Paint this cursor in the given graphics context
Parameters: g - the graphics context to paint in |
|
|