Interface TranslatableEnum


public interface TranslatableEnum
An enum value that can be be translated.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Component
    Returns the translated name of this value.
  • Method Details

    • getTranslatedName

      default Component getTranslatedName()
      Returns the translated name of this value. Defaults to a literal component with the enum name;
      Returns:
      the translated name of this value