|
||||||||||
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.widget.WidgetBase org.kuali.rice.krad.uif.widget.Disclosure
public class Disclosure
Decorates a group with collapse/expand functionality
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 | |
---|---|
Disclosure()
|
Method Summary | ||
---|---|---|
protected
|
copyProperties(T component)
Copies the properties over for the copy method |
|
int |
getAnimationSpeed()
Gives the speed for the open/close animation, a smaller int will result in a faster animation |
|
String |
getCollapseImageSrc()
Path to the images that should be displayed to collapse the group |
|
String |
getExpandImageSrc()
Path to the images that should be displayed to expand the group |
|
boolean |
isAjaxRetrievalWhenOpened()
When true, the group content will be retrieved when the disclosure is opened |
|
boolean |
isDefaultOpen()
Indicates whether the group should be initially open |
|
boolean |
isRenderImage()
Indicates whether the expand/collapse image should be rendered for the closure, if set to false only the group title will be clickable |
|
void |
performApplyModel(View view,
Object model,
Component parent)
Sets forceSessionPersistence when using the ajax retrieval option |
|
void |
setAjaxRetrievalWhenOpened(boolean ajaxRetrievalWhenOpened)
Set ajaxRetrievalWhenOpened |
|
void |
setAnimationSpeed(int animationSpeed)
Setter for the open/close animation speed |
|
void |
setCollapseImageSrc(String collapseImageSrc)
Setter for the collapse image path |
|
void |
setDefaultOpen(boolean defaultOpen)
Setter for the default open indicator |
|
void |
setExpandImageSrc(String expandImageSrc)
Setter for the expand image path |
|
void |
setRenderImage(boolean renderImage)
Setter for the render expand/collapse image indicator |
Methods inherited from class org.kuali.rice.krad.uif.widget.WidgetBase |
---|
getComponentTypeName |
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 Disclosure()
Method Detail |
---|
public void performApplyModel(View view, Object model, Component parent)
performApplyModel
in interface Component
performApplyModel
in class ComponentBase
view
- - view instance to which the component belongsmodel
- - Top level object containing the data (could be the form or a
top level business object, dto)Component.performApplyModel(org.kuali.rice.krad.uif.view.View, Object, org.kuali.rice.krad.uif.component.Component)
public String getCollapseImageSrc()
public void setCollapseImageSrc(String collapseImageSrc)
collapseImageSrc
- public String getExpandImageSrc()
public void setExpandImageSrc(String expandImageSrc)
expandImageSrc
- public int getAnimationSpeed()
public void setAnimationSpeed(int animationSpeed)
animationSpeed
- public boolean isDefaultOpen()
public void setDefaultOpen(boolean defaultOpen)
defaultOpen
- public boolean isAjaxRetrievalWhenOpened()
This only works if by default, the disclosure is closed.
public void setAjaxRetrievalWhenOpened(boolean ajaxRetrievalWhenOpened)
ajaxRetrievalWhenOpened
- public boolean isRenderImage()
public void setRenderImage(boolean renderImage)
renderImage
- protected <T> void copyProperties(T component)
ComponentBase
copyProperties
in class WidgetBase
component
- base beanComponentBase.copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |