|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.element.ContentElementBase org.kuali.rice.krad.uif.control.ControlBase org.kuali.rice.krad.uif.control.MultiValueControlBase org.kuali.rice.krad.uif.control.OptionListControl
public class OptionListControl
OptionListControl is used for listing out options from an option finder or options list. This control can show all items in the options or it can show only the selected options (if backed by a propertyName). One use case for this control is to use it in combination with UifKeyValueLocation to provide a list of locations retrieved through a KeyValuesFinder.
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
OptionListControl()
|
Method Summary | ||
---|---|---|
protected
|
copyProperties(T component)
Copies the properties over for the copy method |
|
String |
getItemCssClass()
The item css class to add to each li element of the list |
|
String |
getSelectedItemCssClass()
The css class to add to each item of the list which matches a value in the property |
|
boolean |
isShowOnlySelected()
When true, only show the "selected" options (items which match a value in the property of the field). |
|
void |
setItemCssClass(String itemCssClass)
Set the itemCssClass |
|
void |
setSelectedItemCssClass(String selectedItemCssClass)
Set the selectedItemCssClass |
|
void |
setShowOnlySelected(boolean showOnlySelected)
Set the showOnlySelected flag |
Methods inherited from class org.kuali.rice.krad.uif.control.MultiValueControlBase |
---|
getComponentsForLifecycle, getInlineComponents, getOptions, getRichOptions, isLocationSelect, performApplyModel, performFinalize, setInlineComponents, setLocationSelect, setOptions, setRichOptions |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Constructor Detail |
---|
public OptionListControl()
Method Detail |
---|
public String getItemCssClass()
public void setItemCssClass(String itemCssClass)
itemCssClass
- public boolean isShowOnlySelected()
public void setShowOnlySelected(boolean showOnlySelected)
showOnlySelected
- public String getSelectedItemCssClass()
public void setSelectedItemCssClass(String selectedItemCssClass)
selectedItemCssClass
- protected <T> void copyProperties(T component)
ComponentBase
copyProperties
in class MultiValueControlBase
component
- base beanComponentBase.copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |