org.eclipse.higgins.icard
Interface IUIDescriptor


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

TYPE_TEXTFILED

public static final int TYPE_TEXTFILED
TextField GUI component type

See Also:
Constant Field Values

TYPE_TEXTAREA

public static final int TYPE_TEXTAREA
TextArea GUI component type

See Also:
Constant Field Values

TYPE_FILE

public static final int TYPE_FILE
FileChooser GUI component type

See Also:
Constant Field Values

TYPE_CHECKBOX

public static final int TYPE_CHECKBOX
CheckField GUI component type

See Also:
Constant Field Values

TYPE_COMBOBOX

public static final int TYPE_COMBOBOX
ComboBox GUI component type

See Also:
Constant Field Values

TYPE_DATETIME

public static final int TYPE_DATETIME
Date(time) GUI component type

See Also:
Constant Field Values
Method Detail

getType

public int getType()
The type of value. Indicates which GUI component should be used to edit data of this value 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


getPattern

public String getPattern()
Regular expressions pattern which should be used to validate user's input (returns null if validation is not required).


setPattern

public void setPattern(String pattern)
Parameters:
pattern - Regular expressions pattern which should be used to validate user's input.

getInputMask

public String getInputMask()
Returns:

setInputMask

public void setInputMask(String inputMask)
Parameters:
inputMask -

getOptionalValues

public List getOptionalValues()
Contains optional String values list in case of TYPE_CHECKBOX and TYPE_COMBOBOX.


setOptionalValues

public void setOptionalValues(List values)
Sets the list of optional String values in case of TYPE_CHECKBOX and TYPE_COMBOBOX.