Class EnumSelectModel

  • All Implemented Interfaces:
    java.io.Serializable, SelectModel

    public final class EnumSelectModel
    extends AbstractSelectModel
    implements java.io.Serializable
    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 ClassName.name 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