Interface TextField
access this type via: ui.TextField (provides, requires or uses)
--- extends:KeyEventObject
A text entry field for a single line of text.
Events
textChanged()
Functions
TextField()
char[] getText()
void setText(char text[])
void setWidth(int w)
void setPasswordMask(bool t)
void setClickTarget(storeClickableObject o)
void setBackground(storeColor c)
void setBorder(storeColor c)
void setHighlight(storeColor c)
void setTextColor(storeColor c)
void setFont(storeFont f)
Events
textChanged An event which reports whenever the content of the text field is changed (which could be by entering new text, cutting or pasting, deleting text, etc.).
TextField()
char[] getText()
Get the current text in the field.
void setText(char text[])
Set the current text in the field.
void setWidth(int w)
Set the width of the field in pixels (note that its height is calculated automatically from the font).
void setPasswordMask(bool t)
Set whether or not text is obscured by password mask characters (default is false).
void setClickTarget(storeClickableObject o)
Set a clickable object (such as a button) to send a 'click' notification to when the user presses the return key.
void setBackground(storeColor c)
void setBorder(storeColor c)
void setHighlight(storeColor c)
void setTextColor(storeColor c)
void setFont(storeFont f)