|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.uif.RemotableAbstractControl.Builder org.kuali.rice.core.api.uif.RemotableSelect.Builder
public static final class RemotableSelect.Builder
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RemotableSelect.Builder create(Map<String,String> keyLabels)
public static RemotableSelect.Builder create(List<RemotableSelectGroup.Builder> groups)
public Integer getSize()
Sized
getSize
in interface Sized
public void setSize(Integer size)
public Map<String,String> getKeyLabels()
KeyLabeled
getKeyLabels
in interface KeyLabeled
public void setKeyLabels(Map<String,String> keyLabels)
public List<RemotableSelectGroup.Builder> getGroups()
RemotableSelectContract
KeyLabeled.getKeyLabels()
must be empty. Cannot be null.
getGroups
in interface RemotableSelectContract
public void setGroups(List<RemotableSelectGroup.Builder> groups)
public boolean isMultiple()
RemotableSelectContract
isMultiple
in interface RemotableSelectContract
public void setMultiple(boolean multiple)
public boolean isRefreshOnChange()
RemotableSelectContract
isRefreshOnChange
in interface RemotableSelectContract
public void setRefreshOnChange(boolean refreshOnChange)
public RemotableSelect build()
ModelBuilder
build
in interface ModelBuilder
build
in class RemotableAbstractControl.Builder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |