org.eclipse.higgins.icard.common
Class UIDescriptor
java.lang.Object
org.eclipse.higgins.icard.common.UIDescriptor
- All Implemented Interfaces:
- org.eclipse.higgins.icard.IUIDescriptor
public class UIDescriptor
- extends Object
- implements org.eclipse.higgins.icard.IUIDescriptor
| Fields inherited from interface org.eclipse.higgins.icard.IUIDescriptor |
TYPE_CHECKBOX, TYPE_COMBOBOX, TYPE_DATETIME, TYPE_FILE, TYPE_TEXTAREA, TYPE_TEXTFILED |
UIDescriptor
public UIDescriptor()
createTextFieldDescriptor
public static UIDescriptor createTextFieldDescriptor(String regExpPattern,
String inputMask)
createTextAreaDescriptor
public static UIDescriptor createTextAreaDescriptor(String regExpPattern)
createFileDescriptor
public static UIDescriptor createFileDescriptor()
createCheckBoxDescriptor
public static UIDescriptor createCheckBoxDescriptor(List optionalValues)
createComboBoxDescriptor
public static UIDescriptor createComboBoxDescriptor(List optionalValues)
createDateTimeDescriptor
public static UIDescriptor createDateTimeDescriptor(String inputMask,
String pattern)
getType
public int getType()
- Specified by:
getType in interface org.eclipse.higgins.icard.IUIDescriptor
getOptionalValues
public List getOptionalValues()
- Specified by:
getOptionalValues in interface org.eclipse.higgins.icard.IUIDescriptor
getPattern
public String getPattern()
- Specified by:
getPattern in interface org.eclipse.higgins.icard.IUIDescriptor
setOptionalValues
public void setOptionalValues(List values)
- Specified by:
setOptionalValues in interface org.eclipse.higgins.icard.IUIDescriptor
setPattern
public void setPattern(String pattern)
- Specified by:
setPattern in interface org.eclipse.higgins.icard.IUIDescriptor
getInputMask
public String getInputMask()
- Specified by:
getInputMask in interface org.eclipse.higgins.icard.IUIDescriptor
setInputMask
public void setInputMask(String inputMask)
- Specified by:
setInputMask in interface org.eclipse.higgins.icard.IUIDescriptor