net.simplace.client.sim.formengine.FWFormComponentTemplates
public final class FWFormComponentTemplates {
// Public Constructors
public FWFormComponentTemplates();
// Class Methods public static final Element
createLabelElement(String tID, String tText);
returns label Element (id only)
public static final Element
createTextElement(String aID, String
aDescription, int aMaxlength, String aRegexp, String aDefault, String
aEnabled, String aRequired, String aVisible);
- aID
- aDescription
- aMaxlength
- aRegexp
- aDefault
- aEnabled
- aRequired
- aVisible
- aShouldLocalize
returns label Element (id only)
public static final Element
createFileElement(String aID, String
aDescription, String aDefault, String aEnabled, String aRequired, String
aVisible);
- aID
- aDescription
- aDefault
- aEnabled
- aRequired
- aVisible
- aShouldLocalize
returns label Element (id only)
public static final Element
createChoiceElement(String aID, String
aDescription, boolean aMultiselect, LinkedHashMap aOptionsMap, String
aDefault, String aEnabled, String aRequired, String aVisible);
- aID
- aDescription
- aDefault
- aMultiselect
- aEnabled
- aRequired
- aOptionsMap
- aVisible
returns label Element (id only)
public static final Element
createIntegerElement(String aID, String
aDescription, Integer aMin, Integer aMax, String aDefault, String
aEnabled, String aRequired, String aVisible);
- aID
- aDescription
- aMin
- aMax
- aDefault
- aEnabled
- aRequired
- aVisible
- aShouldLocalize
returns label Element (id only)
public static final Element
createDoubleElement(String aID, String
aDescription, String aMin, String aMax, Integer aPrecision, String
aDefault, String aEnabled, String aRequired, String aVisible);
- aID
- aDescription
- aMin
- aMax
- aDefault
- aEnabled
- aRequired
- aPrecision
- aVisible
- aShouldLocalize
returns label Element (id only)
public static Element
createBooleanElement(String aID, String aDescription,
String aDefault, String aEnabled, String aRequired, String aVisible);
- aID
- aDefault
- aEnabled
- aRequired
- aVisible
- aDescription
- aShouldLocalize
returns boolean Element
public static Element
createDateElement(String aID, String aDescription,
String aDefault, String aEnabled, String aRequired, String aPrecision,
String aVisible);
- aID
- aDescription
- aDefault
- aEnabled
- aRequired
- aPrecision
- aVisible
- aShouldLocalize
returns date Element
public static final Element
createGroupElement(String aID, String
aDescription, String aEnabled, String aVisible, String aDetachable);
- aID
- aDescription
- aEnabled
- aRequired
- aVisible
- aDetachable
- aShouldLocalize
returns group Element
public static final Element
createTableElement(String tID);
returns label Element (id only)
public static Element
createFormElement(String aName);
returns the form Element
}