org.eclipse.higgins.icard.common
Class UIDescriptor

java.lang.Object
  extended byorg.eclipse.higgins.icard.common.UIDescriptor
All Implemented Interfaces:
org.eclipse.higgins.icard.IUIDescriptor

public class UIDescriptor
extends Object
implements org.eclipse.higgins.icard.IUIDescriptor


Field Summary
 
Fields inherited from interface org.eclipse.higgins.icard.IUIDescriptor
TYPE_CHECKBOX, TYPE_COMBOBOX, TYPE_DATETIME, TYPE_FILE, TYPE_TEXTAREA, TYPE_TEXTFILED
 
Constructor Summary
UIDescriptor()
           
 
Method Summary
static UIDescriptor createCheckBoxDescriptor(List optionalValues)
           
static UIDescriptor createComboBoxDescriptor(List optionalValues)
           
static UIDescriptor createDateTimeDescriptor(String inputMask, String pattern)
           
static UIDescriptor createFileDescriptor()
           
static UIDescriptor createTextAreaDescriptor(String regExpPattern)
           
static UIDescriptor createTextFieldDescriptor(String regExpPattern, String inputMask)
           
 String getInputMask()
           
 List getOptionalValues()
           
 String getPattern()
           
 int getType()
           
 void setInputMask(String inputMask)
           
 void setOptionalValues(List values)
           
 void setPattern(String pattern)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDescriptor

public UIDescriptor()
Method Detail

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