Class FWFormComponentTemplates
java.lang.Object
net.simplace.client.sim.formengine.FWFormComponentTemplates
- Author:
- aenders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jdom2.ElementcreateBooleanElement(String aID, String aDescription, String aDefault, String aEnabled, String aRequired, String aVisible) static final org.jdom2.ElementcreateChoiceElement(String aID, String aDescription, boolean aMultiselect, LinkedHashMap<String, String> aOptionsMap, String aDefault, String aEnabled, String aRequired, String aVisible) static org.jdom2.ElementcreateDateElement(String aID, String aDescription, String aDefault, String aEnabled, String aRequired, String aPrecision, String aMinValue, String aMaxValue, String aVisible) static final org.jdom2.ElementcreateDoubleElement(String aID, String aDescription, String aMin, String aMax, Integer aPrecision, String aDefault, String aEnabled, String aRequired, String aVisible) static final org.jdom2.ElementcreateFileElement(String aID, String aDescription, String aDefault, String aEnabled, String aRequired, String aVisible) static org.jdom2.ElementcreateFormElement(String aName) static final org.jdom2.ElementcreateGroupElement(String aID, String aDescription, String aEnabled, String aVisible, String aDetachable) static final org.jdom2.ElementcreateIntegerElement(String aID, String aDescription, Integer aMin, Integer aMax, String aDefault, String aEnabled, String aRequired, String aVisible) static final org.jdom2.ElementcreateLabelElement(String tID, String tText) static final org.jdom2.ElementcreateTableElement(String tID) static final org.jdom2.ElementcreateTextElement(String aID, String aDescription, int aMaxlength, String aRegexp, String aDefault, String aEnabled, String aRequired, String aVisible)
-
Constructor Details
-
FWFormComponentTemplates
public FWFormComponentTemplates()
-
-
Method Details
-
createLabelElement
- Parameters:
tID-tText-- Returns:
- label Element (id only)
-
createTextElement
public static final org.jdom2.Element createTextElement(String aID, String aDescription, int aMaxlength, String aRegexp, String aDefault, String aEnabled, String aRequired, String aVisible) - Parameters:
aID-aDescription-aMaxlength-aRegexp-aDefault-aEnabled-aRequired-aVisible-aShouldLocalize-- Returns:
- label Element (id only)
-
createFileElement
public static final org.jdom2.Element createFileElement(String aID, String aDescription, String aDefault, String aEnabled, String aRequired, String aVisible) - Parameters:
aID-aDescription-aDefault-aEnabled-aRequired-aVisible-aShouldLocalize-- Returns:
- label Element (id only)
-
createChoiceElement
public static final org.jdom2.Element createChoiceElement(String aID, String aDescription, boolean aMultiselect, LinkedHashMap<String, String> aOptionsMap, String aDefault, String aEnabled, String aRequired, String aVisible) - Parameters:
aID-aDescription-aDefault-aMultiselect-aEnabled-aRequired-aOptionsMap-aVisible-- Returns:
- label Element (id only)
-
createIntegerElement
public static final org.jdom2.Element createIntegerElement(String aID, String aDescription, Integer aMin, Integer aMax, String aDefault, String aEnabled, String aRequired, String aVisible) - Parameters:
aID-aDescription-aMin-aMax-aDefault-aEnabled-aRequired-aVisible-aShouldLocalize-- Returns:
- label Element (id only)
-
createDoubleElement
public static final org.jdom2.Element createDoubleElement(String aID, String aDescription, String aMin, String aMax, Integer aPrecision, String aDefault, String aEnabled, String aRequired, String aVisible) - Parameters:
aID-aDescription-aMin-aMax-aDefault-aEnabled-aRequired-aPrecision-aVisible-aShouldLocalize-- Returns:
- label Element (id only)
-
createBooleanElement
public static org.jdom2.Element createBooleanElement(String aID, String aDescription, String aDefault, String aEnabled, String aRequired, String aVisible) - Parameters:
aID-aDefault-aEnabled-aRequired-aVisible-aDescription-aShouldLocalize-- Returns:
- boolean Element
-
createDateElement
public static org.jdom2.Element createDateElement(String aID, String aDescription, String aDefault, String aEnabled, String aRequired, String aPrecision, String aMinValue, String aMaxValue, String aVisible) - Parameters:
aID-aDescription-aDefault-aEnabled-aRequired-aPrecision-aVisible-aShouldLocalize-- Returns:
- date Element
-
createGroupElement
public static final org.jdom2.Element createGroupElement(String aID, String aDescription, String aEnabled, String aVisible, String aDetachable) - Parameters:
aID-aDescription-aEnabled-aRequired-aVisible-aDetachable-aShouldLocalize-- Returns:
- group Element
-
createTableElement
- Parameters:
tID-- Returns:
- label Element (id only)
-
createFormElement
- Parameters:
aName-- Returns:
- the form Element
-