public final class EnumSelectModel extends AbstractSelectModel implements Serializable
Constructor and Description |
---|
EnumSelectModel(Class<T> enumClass,
Messages messages) |
EnumSelectModel(Class<T> enumClass,
Messages messages,
T[] values) |
Modifier and Type | Method and Description |
---|---|
List<OptionGroupModel> |
getOptionGroups()
Returns null.
|
List<OptionModel> |
getOptions()
Returns the option groups created in the constructor.
|
visit
public EnumSelectModel(Class<T> enumClass, Messages messages)
public EnumSelectModel(Class<T> enumClass, Messages messages, T[] values)
public List<OptionGroupModel> getOptionGroups()
getOptionGroups
in interface SelectModel
public List<OptionModel> getOptions()
getOptions
in interface SelectModel
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.