The Robot Application Programming Interface Delegate Project
|
Public Member Functions | |
TextInputDialog (String title, String prompt) | |
TextInputDialog (String title, String prompt, String initialText) | |
TextInputDialog (String title, String prompt, String initialText, String[] textOptions) | |
String | getValue (boolean trimWhitespace) |
get the string that was in the input dialog when Ok was pressed. | |
String | getValue () |
get the string that was in the input dialog when Ok was pressed. | |
Public Attributes | |
int | dialogWidth = 600 |
Protected Member Functions | |
Control | createDialogArea (Composite parent) |
void | configureShell (Shell shell) |
void | okPressed () |
Package Attributes | |
Label | m_label |
Combo | m_textCombo |
final String | m_dialogTitle |
final String | m_labelText |
final String | m_initialText |
final String[] | m_textOptions |
boolean | m_trimWhitespace = true |
String | m_value = null |
TextInputDialog | ( | String | title, |
String | prompt | ||
) |
TextInputDialog | ( | String | title, |
String | prompt, | ||
String | initialText | ||
) |
TextInputDialog | ( | String | title, |
String | prompt, | ||
String | initialText, | ||
String[] | textOptions | ||
) |
void configureShell | ( | Shell | shell | ) | [protected] |
Control createDialogArea | ( | Composite | parent | ) | [protected] |
String getValue | ( | ) |
If user pressed Cancel instead, this will return null
String getValue | ( | boolean | trimWhitespace | ) |
If user pressed Cancel instead, this will return null
trimWhitespace | remove leading and trailing whitespace from value |
void okPressed | ( | ) | [protected] |
int dialogWidth = 600 |
final String m_dialogTitle [package] |
final String m_initialText [package] |
Label m_label [package] |
final String m_labelText [package] |
Combo m_textCombo [package] |
final String [] m_textOptions [package] |
boolean m_trimWhitespace = true [package] |
String m_value = null [package] |