|
||||||||||
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.element.Header org.kuali.rice.krad.uif.element.ViewHeader
public class ViewHeader
The ViewHeader component represents the header for the view
This header has support for a "Unified" header in which both the page title and view title appear in its content. An "area title" and "metadata" can also be set to provide context.
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 | |
---|---|
ViewHeader()
|
Method Summary | ||
---|---|---|
protected
|
copyProperties(T component)
Copies the properties over for the copy method |
|
Message |
getAreaTitleMessage()
Message object backing areaTitleText |
|
String |
getAreaTitleText()
Represents the area in which this view and page exist (conceptially in the site); this title appears above the view title. |
|
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through the lifecycle |
|
Message |
getMetadataMessage()
The metadataMessage represents any relevant metadata about the view (last saved, etc). |
|
String |
getMetadataText()
The metadataText represents any relevant metadata about the view (last saved, etc). |
|
Message |
getSupportTitleMessage()
The supportTitleMessage represents the sub-area of this view that supports what the page is displaying, this is the Message component |
|
String |
getSupportTitleText()
The supportTitleText represents the sub-area of this view that explains what the page is displaying; this is the text used in supportTitleMessage |
|
boolean |
isSticky()
If true, this ViewHeader will be sticky (fixed to top of window, stays at top during scrolling) |
|
void |
performFinalize(View view,
Object model,
Component parent)
Sets the supportTitleMessage if one has not been set and unified header is being used, based on the value of page title |
|
void |
setAreaTitleMessage(Message areaTitleMessage)
Set the areaTitleMessage object |
|
void |
setAreaTitleText(String areaTitle)
Set the areaTitle |
|
void |
setMetadataMessage(Message metadataMessage)
Set the metadataMessage |
|
void |
setMetadataText(String metadataText)
Set the metadataText |
|
void |
setSticky(boolean sticky)
Set to true to make this ViewHeader sticky |
|
void |
setSupportTitleMessage(Message supportTitleMessage)
Set the supportTitleMessage |
|
void |
setSupportTitleText(String supportTitle)
Set the supportTitleText |
Methods inherited from class org.kuali.rice.krad.uif.element.Header |
---|
completeValidation, getHeaderLevel, getHeaderStyleClassesAsString, getHeaderTagCssClasses, getHeaderTagStyle, getHeaderText, getInlineComponents, getItems, getLowerGroup, getRichHeaderMessage, getRightGroup, getUpperGroup, performApplyModel, setHeaderLevel, setHeaderTagCssClasses, setHeaderTagStyle, setHeaderText, setInlineComponents, setItems, setLowerGroup, setRichHeaderMessage, setRightGroup, setUpperGroup |
Methods inherited from class org.kuali.rice.krad.uif.element.ContentElementBase |
---|
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 ViewHeader()
Method Detail |
---|
public void performFinalize(View view, Object model, Component parent)
performFinalize
in interface Component
performFinalize
in class Header
view
- - view instance that should be finalized for renderingmodel
- - top level object containing the dataparent
- - parent componentComponent.performFinalize(org.kuali.rice.krad.uif.view.View, Object, org.kuali.rice.krad.uif.component.Component)
public List<Component> getComponentsForLifecycle()
Component
Used by ViewHelperService
for the various lifecycle callbacks
getComponentsForLifecycle
in interface Component
getComponentsForLifecycle
in class Header
ComponentBase.getComponentsForLifecycle()
public String getAreaTitleText()
public void setAreaTitleText(String areaTitle)
areaTitle
- public Message getAreaTitleMessage()
public void setAreaTitleMessage(Message areaTitleMessage)
areaTitleMessage
- public String getSupportTitleText()
This title appears below the view title and will be automatically set to the page title if not set.
public void setSupportTitleText(String supportTitle)
supportTitle
- public Message getSupportTitleMessage()
This title appears below the view title and will be automatically set to the page title if not messageText is not set.
public void setSupportTitleMessage(Message supportTitleMessage)
supportTitleMessage
- public String getMetadataText()
public void setMetadataText(String metadataText)
metadataText
- public Message getMetadataMessage()
public void setMetadataMessage(Message metadataMessage)
metadataMessage
- public boolean isSticky()
public void setSticky(boolean sticky)
sticky
- protected <T> void copyProperties(T component)
ComponentBase
copyProperties
in class Header
component
- base beanComponentBase.copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |