|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUIDescriptor
| Field Summary | |
|---|---|
static int |
TYPE_CHECKBOX
CheckField GUI component type |
static int |
TYPE_COMBOBOX
ComboBox GUI component type |
static int |
TYPE_DATETIME
Date(time) GUI component type |
static int |
TYPE_FILE
FileChooser GUI component type |
static int |
TYPE_TEXTAREA
TextArea GUI component type |
static int |
TYPE_TEXTFILED
TextField GUI component type |
| Method Summary | |
|---|---|
String |
getInputMask()
|
List |
getOptionalValues()
Contains optional String values list in case of
TYPE_CHECKBOX and TYPE_COMBOBOX. |
String |
getPattern()
Regular expressions pattern which should be used to validate user's input (returns null if validation is not required). |
int |
getType()
The type of value. |
void |
setInputMask(String inputMask)
|
void |
setOptionalValues(List values)
Sets the list of optional String values in case of
TYPE_CHECKBOX and TYPE_COMBOBOX. |
void |
setPattern(String pattern)
|
| Field Detail |
|---|
static final int TYPE_TEXTFILED
static final int TYPE_TEXTAREA
static final int TYPE_FILE
static final int TYPE_CHECKBOX
static final int TYPE_COMBOBOX
static final int TYPE_DATETIME
| Method Detail |
|---|
int getType()
TYPE_TEXTFILED - element contains
String type value which should be edited in text field
TYPE_TEXTAREA - element contains String
value which should be edited in text area TYPE_FILE -
element contains base64-encoded bytes array of file
TYPE_CHECKBOX
TYPE_COMBOBOX
String getPattern()
null if validation is not required).
void setPattern(String pattern)
pattern - Regular expressions pattern which should be used to validate
user's input.String getInputMask()
void setInputMask(String inputMask)
inputMask - List getOptionalValues()
String values list in case of
TYPE_CHECKBOX and TYPE_COMBOBOX.
void setOptionalValues(List values)
String values in case of
TYPE_CHECKBOX and TYPE_COMBOBOX.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||