Class EnumSelectModel

  • All Implemented Interfaces:, SelectModel

    public final class EnumSelectModel
    extends AbstractSelectModel
    A basic select model for a particular Enum type. The labels for each Enum are drawn from the Enum instance name and the provided message catalog:
    • As key if present. The class name excludes the package portion. Ex: "ElementType.LOCAL_VARIABLE"
    • As key name if present, i.e., "LOCAL_VARIABLE".
    • As a user-presentable version of the name, i.e., "Local Variable".
    See Also:
    Serialized Form