Class CharacteristicsUIDefinition

    • Constructor Detail

      • CharacteristicsUIDefinition

        public CharacteristicsUIDefinition()
    • Method Detail

      • getFieldProperties

        public String getFieldProperties​(Field field,
                                         boolean getValueFromSession)
        Description copied from class: UIDefinition
        Computes properties to initialize and set the field in a Smartclient form. This can be the default value or the sets of values in the valuemap.
        Overrides:
        getFieldProperties in class UIDefinition
        Parameters:
        field - the field for which the information should be computed.
        Returns:
        a JSONObject string which is used to initialize the formitem.
      • getFilterEditorPropertiesProperty

        public String getFilterEditorPropertiesProperty​(Field field)
        Description copied from class: UIDefinition
        Returns the filterEditorProperties property set on the gridfield. Note for implementations in the subclass: field maybe null.
        Overrides:
        getFilterEditorPropertiesProperty in class StringUIDefinition
        Parameters:
        field - the field to generate the filter editor properties for, note it is allowed to pass null, implementors should gracefully handle this.