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.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.