Class AbstractSelectionFieldDescriptor

    • Method Detail

      • setOptionValues

        public void setOptionValues​(List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
        Sets the available option values for this field. This can be used to change the options dynamically and should be used with care.
        Parameters:
        optionValues - the new list of option values.
        Since:
        6.6
      • getFormattedValue

        public String getFormattedValue​(String value)
        Gets the option name associated with the specified value.
        Overrides:
        getFormattedValue in class FieldDescriptor
        Parameters:
        value - The option value.
        Returns:
        A String representing the option name that is paired with the specified option value.