The Robot Application Programming Interface Delegate Project
|
A field editor for a string type preference. More...
Public Member Functions | |
InfoTextFieldEditor (String labelText, Composite parent) | |
void | updateInfoText () |
int | getNumberOfControls () |
void | setFixedWidthFont (boolean fixed) |
Text | getTextControl (Composite parent) |
void | setFocus () |
void | setStringValue (String value) |
void | setEnabled (boolean enabled, Composite parent) |
Protected Member Functions | |
void | adjustForNumColumns (int numColumns) |
void | doFillIntoGrid (Composite parent, int numColumns) |
void | doLoad () |
void | doLoadDefault () |
void | doStore () |
void | updateFont () |
Text | getTextControl () |
Returns this field editor's text control. | |
Protected Attributes | |
String | textString = "" |
Text | textField |
boolean | fixedWidthFont = false |
This class may be used as is, or subclassed as required.
InfoTextFieldEditor | ( | String | labelText, |
Composite | parent | ||
) |
void adjustForNumColumns | ( | int | numColumns | ) | [protected] |
void doFillIntoGrid | ( | Composite | parent, |
int | numColumns | ||
) | [protected] |
void doLoad | ( | ) | [protected] |
void doLoadDefault | ( | ) | [protected] |
void doStore | ( | ) | [protected] |
int getNumberOfControls | ( | ) |
Text getTextControl | ( | ) | [protected] |
Text getTextControl | ( | Composite | parent | ) |
void setEnabled | ( | boolean | enabled, |
Composite | parent | ||
) |
void setFixedWidthFont | ( | boolean | fixed | ) |
void setFocus | ( | ) |
void setStringValue | ( | String | value | ) |
void updateFont | ( | ) | [protected] |
void updateInfoText | ( | ) |
boolean fixedWidthFont = false [protected] |
Text textField [protected] |
String textString = "" [protected] |