Interface IPluginProfileFilterValue

    • Method Detail

      • getValue

        String getValue()
        Returns:
        the actual profile attribute value of this filter value option. Generally this should be an immutable value such as some form of ID and not e.g. editable display names.
      • getDisplayName

        String getDisplayName​(Locale locale)
        Parameters:
        locale - Locale to be used for internationalization.
        Returns:
        the locale specific display name of the value.
      • getDescription

        @Nullable
        String getDescription​(Locale locale)
        Returns an optional description of the possible value option. This should be a helpful notice for the user for deciding on a filter value.
        Parameters:
        locale - Locale to be used for internationalization.
        Returns:
        the locale specific description.
      • getIcon

        @Nullable
        default IGuiIcon getIcon()
        Returns:
        an optional icon to be shown for the attribute value in the configuration GUI.