|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.TextInputParameters
| Field Summary | |
Control |
control
This is the Control which will own the input. |
Font |
controlFont
This will be the font of the control. |
Rect |
controlRect
This can be set to be the Rect of the host control in its parent window. |
String |
enteredText
This is the text that was entered. |
static int |
FLAG_AUTO_WRAP
|
static int |
FLAG_CANCELLED
This is set if the native input text cancelled the input. |
static int |
FLAG_EVENT_ON_EACH_KEY
If this is true, then a TEXT_CHANGED event is sent for each key press. |
static int |
FLAG_LOWER_CASE
|
static int |
FLAG_MULTILINE
|
static int |
FLAG_NUMBERS_ONLY
|
static int |
FLAG_PASSWORD
|
static int |
FLAG_SELECT_ALL
|
static int |
FLAG_SENTENCE_CASE
|
static int |
FLAG_UPPER_CASE
|
static int |
FLAG_WANT_RETURN
|
int |
flags
This can be a combination of any of the FLAG_XXX values. |
String |
initialText
This is the initial text to be entered - use setInitialText() to set it - this will convert LF characters to CR/LF characters if necessary. |
char |
passwordCharacter
If possible, this will be used as the password character. |
String |
prompt
If a dialog box must be used by the underlying system, then this prompt will be displayed in its title. |
int |
textColumns
This is the number of columns of text input. |
int |
textRows
This is the number of rows of text input. |
| Constructor Summary | |
TextInputParameters(Control forWho,
boolean matchOnScreen)
|
|
| Method Summary | |
static String |
fixEditedText(String text)
|
void |
setInitialText(String text)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public int flags
public String initialText
public String enteredText
public String prompt
public int textRows
public int textColumns
public Control control
public Rect controlRect
public Font controlFont
public char passwordCharacter
public static final int FLAG_CANCELLED
public static final int FLAG_PASSWORD
public static final int FLAG_UPPER_CASE
public static final int FLAG_SENTENCE_CASE
public static final int FLAG_NUMBERS_ONLY
public static final int FLAG_AUTO_WRAP
public static final int FLAG_MULTILINE
public static final int FLAG_WANT_RETURN
public static final int FLAG_SELECT_ALL
public static final int FLAG_LOWER_CASE
public static final int FLAG_EVENT_ON_EACH_KEY
| Constructor Detail |
public TextInputParameters(Control forWho,
boolean matchOnScreen)
| Method Detail |
public void setInitialText(String text)
public static String fixEditedText(String text)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||