Class FWFormComponentTemplates

java.lang.Object
net.simplace.client.sim.formengine.FWFormComponentTemplates

public final class FWFormComponentTemplates extends Object
Author:
aenders
  • Constructor Details

    • FWFormComponentTemplates

      public FWFormComponentTemplates()
  • Method Details

    • createLabelElement

      public static final org.jdom2.Element createLabelElement(String tID, String tText)
      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

      public static final org.jdom2.Element createTableElement(String tID)
      Parameters:
      tID -
      Returns:
      label Element (id only)
    • createFormElement

      public static org.jdom2.Element createFormElement(String aName)
      Parameters:
      aName -
      Returns:
      the form Element