Class GuiParameter

java.lang.Object
com.werkii.server.entities.results.GuiParameter
All Implemented Interfaces:
Serializable

public class GuiParameter extends Object implements Serializable
See Also:
  • Constructor Details

    • GuiParameter

      public GuiParameter()
  • Method Details

    • getLabel

      public String getLabel()
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - the label to set
    • getIdentifier

      public String getIdentifier()
      Returns:
      the identifier
    • setIdentifier

      public void setIdentifier(String identifier)
      Parameters:
      identifier - the identifier to set
    • getValue

      public String getValue()
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
    • getType

      public GuiParameter.FieldType getType()
      Returns:
      the type
    • setType

      public void setType(GuiParameter.FieldType type)
      Parameters:
      type - the type to set
    • getLovValues

      public List<GuiParameterComboBoxItem> getLovValues()
      Returns:
      the lovValues
    • setLovValues

      public void setLovValues(List<GuiParameterComboBoxItem> lovValues)
      Parameters:
      lovValues - the lovValues to set
    • getGroup

      public String getGroup()
      Returns:
      the group
    • setGroup

      public void setGroup(String group)
      Parameters:
      group - the group to set
    • getWidthInChars

      public int getWidthInChars()
      Returns:
      the widthInChars
    • setWidthInChars

      public void setWidthInChars(int widthInChars)
      Parameters:
      widthInChars - the widthInChars to set
    • getHeightInChars

      public int getHeightInChars()
      Returns:
      the heightInChars
    • setHeightInChars

      public void setHeightInChars(int heightInChars)
      Parameters:
      heightInChars - the heightInChars to set
    • getPositiveNumberTextField

      public static final GuiParameter getPositiveNumberTextField(String label, String identifier, String value, boolean canChangeGUI)
    • getPositiveNumberTextField

      public static final GuiParameter getPositiveNumberTextField(String label, String identifier, String value)
    • getTextField

      public static final GuiParameter getTextField(String label, String identifier, String value, boolean canChangeGUI)
    • getTextField

      public static final GuiParameter getTextField(String label, String identifier, String value)
    • getTextArea

      public static final GuiParameter getTextArea(String label, String identifier, String value, int lines, boolean canChangeGUI)
    • getTextArea

      public static final GuiParameter getTextArea(String label, String identifier, String value, int lines)
    • getComboBox

      public static final GuiParameter getComboBox(String label, String identifier, String value, List<GuiParameterComboBoxItem> lovValues, boolean canChangeGUI)
    • getMultipleComboBox

      public static final GuiParameter getMultipleComboBox(String label, String identifier, String value, List<GuiParameterComboBoxItem> lovValues, boolean canChangeGUI)
    • getMultipleComboBox

      public static final GuiParameter getMultipleComboBox(String label, String identifier, String value, List<GuiParameterComboBoxItem> lovValues)
    • getComboBox

      public static final GuiParameter getComboBox(String label, String identifier, String value, List<GuiParameterComboBoxItem> lovValues)
    • getCheckBox

      public static final GuiParameter getCheckBox(String label, String identifier, boolean value, boolean canChangeGUI)
    • getCheckBox

      public static final GuiParameter getCheckBox(String label, String identifier, boolean value)
    • getLabel

      public static final GuiParameter getLabel(String label, String identifier)
    • getHTML

      public static final GuiParameter getHTML(String label, String identifier, String value, int lines, int widthInChars, boolean canChangeGUI)
    • getHTML

      public static final GuiParameter getHTML(String label, String identifier, String value, int lines, int widthInChars)
    • getGrid

      public static final GuiParameter getGrid(String label, String identifier, List<GuiParameter> rows, int lines, int widthInChars)
    • getHorizontalPanel

      public static final GuiParameter getHorizontalPanel(String identifier, List<GuiParameter> children)
    • getVerticalPanel

      public static final GuiParameter getVerticalPanel(String identifier, List<GuiParameter> children)
    • getRefreshButton

      public static final GuiParameter getRefreshButton(String label, String identifier)
    • getLinkButton

      public static final GuiParameter getLinkButton(String label, String identifier, String value)
    • getUploadButton

      public static final GuiParameter getUploadButton(String label, String identifier)
    • getUploadButton

      public static final GuiParameter getUploadButton(String label, String identifier, boolean required)
    • getDatePicker

      public static final GuiParameter getDatePicker(String label, String identifier, boolean required)
    • getContentTree

      public static final GuiParameter getContentTree(String label, String identifier, boolean required)
    • getRichEditor

      public static final GuiParameter getRichEditor(String label, String identifier)
    • getTranslations

      public Map<String,String> getTranslations()
      Returns:
      the translations
    • setTranslations

      public void setTranslations(Map<String,String> translations)
      Parameters:
      translations - the translations to set
    • setTranslations

      public void setTranslations(NameTranslations translations)
      Parameters:
      translations - the translations to set
    • isMandatory

      public boolean isMandatory()
      Returns:
      the mandatory
    • setMandatory

      public void setMandatory(boolean mandatory)
      Parameters:
      mandatory - the mandatory to set
    • isEditable

      public boolean isEditable()
      Returns:
      the editable
    • setEditable

      public void setEditable(boolean editable)
      Parameters:
      editable - the editable to set
    • getRows

      public List<GuiParameter> getRows()
      Returns:
      the rows
    • setRows

      public void setRows(List<GuiParameter> rows)
      Parameters:
      rows - the rows to set
    • getChildren

      public List<GuiParameter> getChildren()
    • setChildren

      public void setChildren(List<GuiParameter> children)
    • isCanChangeGUI

      public boolean isCanChangeGUI()
    • setCanChangeGUI

      public void setCanChangeGUI(boolean canChangeGUI)
    • setContentFieldType

      public void setContentFieldType(GuiParameter.ContentFieldType fieldType)
    • setMultiSelect

      public void setMultiSelect(boolean multiSelect)
    • getContentFieldType

      public GuiParameter.ContentFieldType getContentFieldType()
    • isMultiSelect

      public boolean isMultiSelect()