public interface OptionModel
OptionGroupModel
. Corresponds closely to the [X]HTML <option> element.Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Additional attributes to render within the <option>.
|
String |
getLabel()
The localized, user-presentable label for the option.
|
Object |
getValue()
The server-side value represented by this option.
|
boolean |
isDisabled()
If true, then a disabled attribute will be rendered with the <option>.
|
boolean isDisabled()
Map<String,String> getAttributes()
Object getValue()
ValueEncoder.toClient(Object)
, to generate the client-side value attribute.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.