Class SelectItemStatus

    • Method Detail

      • getDescription

        public String getDescription()
        Gets the description of the select item, or an empty string if the description is null.
        Returns:
        The description of the select item, or an empty string if the description is null.
      • getGroupNames

        public List<String> getGroupNames()
        Gets the list of labels of all parent groups of the select item, starting with the outermost group and ending with the innermost group. If the select item is not located inside any group, this list is empty
        Returns:
        All group labels of all parent groups that contain the select item.
      • getLabel

        public String getLabel()
        Gets the label of the select item, or an empty string if the label is null.
        Returns:
        The label of the select item, or an empty string if the label is null.
      • isDisabled

        public boolean isDisabled()
        Checks if the select item is disabled.
        Returns:
        True if the select item is disabled, false otherwise.
      • isEscape

        public boolean isEscape()
        Checks if the select item's label or description should be escaped (or interpreted as HTML).
        Returns:
        True if the label or description should be escaped, false otherwise.
      • isNoSelectionOption

        public boolean isNoSelectionOption()
        Checks if the select item is a no selection option ("please select" option).
        Returns:
        True if the select item is a no selection option, false otherwise.