public final class OptionGroupModelImpl extends Object implements OptionGroupModel
| Constructor and Description | 
|---|
| OptionGroupModelImpl(String label,
                                        boolean disabled,
                                        List<OptionModel> options,
                                        Map<String,String> attributes) | 
| OptionGroupModelImpl(String label,
                                        boolean disabled,
                                        List<OptionModel> options,
                                        String... attributeKeysAndValues) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,String> | getAttributes()Additional attributes to render with the <optgroup>. | 
| String | getLabel()Localized, user-presentable label for the group. | 
| List<OptionModel> | getOptions()The list of options within the group. | 
| boolean | isDisabled()If true, the group (and all options within it) will be disabled. | 
| String | toString() | 
public OptionGroupModelImpl(String label, boolean disabled, List<OptionModel> options, String... attributeKeysAndValues)
public OptionGroupModelImpl(String label, boolean disabled, List<OptionModel> options, Map<String,String> attributes)
public Map<String,String> getAttributes()
OptionGroupModelgetAttributes in interface OptionGroupModelpublic String getLabel()
OptionGroupModelgetLabel in interface OptionGroupModelpublic List<OptionModel> getOptions()
OptionGroupModelgetOptions in interface OptionGroupModelpublic boolean isDisabled()
OptionGroupModelisDisabled in interface OptionGroupModel${project.version} - Copyright © 2003-2015 The Apache Software Foundation.