public static final class RemotableSelect.Builder extends RemotableAbstractControl.Builder implements RemotableSelectContract
| Modifier and Type | Method and Description |
|---|---|
RemotableSelect |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RemotableSelect.Builder |
create(List<RemotableSelectGroup.Builder> groups) |
static RemotableSelect.Builder |
create(Map<String,String> keyLabels) |
List<RemotableSelectGroup.Builder> |
getGroups()
Gets an immutable list of Grouped keyLabel pairs.
|
Map<String,String> |
getKeyLabels()
The key-label pairs to display on the control.
|
Integer |
getSize()
The size value to make the control.
|
boolean |
isMultiple()
Whether the select control allows selection of multiple values.
|
boolean |
isRefreshOnChange()
If true, indicates that the page needs to be refreshed whenever the drop-down value is changed.
|
void |
setGroups(List<RemotableSelectGroup.Builder> groups) |
void |
setKeyLabels(Map<String,String> keyLabels) |
void |
setMultiple(boolean multiple) |
void |
setRefreshOnChange(boolean refreshOnChange) |
void |
setSize(Integer size) |
public static RemotableSelect.Builder create(Map<String,String> keyLabels)
public static RemotableSelect.Builder create(List<RemotableSelectGroup.Builder> groups)
public Integer getSize()
Sizedpublic Map<String,String> getKeyLabels()
KeyLabeledgetKeyLabels in interface KeyLabeledpublic void setKeyLabels(Map<String,String> keyLabels)
public List<RemotableSelectGroup.Builder> getGroups()
RemotableSelectContractKeyLabeled.getKeyLabels() must be empty. Cannot be null.getGroups in interface RemotableSelectContractpublic void setGroups(List<RemotableSelectGroup.Builder> groups)
public boolean isMultiple()
RemotableSelectContractisMultiple in interface RemotableSelectContractpublic void setMultiple(boolean multiple)
public boolean isRefreshOnChange()
RemotableSelectContractisRefreshOnChange in interface RemotableSelectContractpublic void setRefreshOnChange(boolean refreshOnChange)
public RemotableSelect build()
ModelBuilderbuild in interface ModelBuilderbuild in class RemotableAbstractControl.BuilderCopyright © 2005–2014 The Kuali Foundation. All rights reserved.