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