|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.component.ConfigurableBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.element.ContentElementBase org.kuali.rice.krad.uif.element.Header
public class Header
Content element that renders a header element and optionally a Group
to
present along with the header text
Generally the group is used to display content to the right of the header, such as links for the group or other information
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 | |
---|---|
Header()
|
Method Summary | |
---|---|
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through the lifecycle |
String |
getHeaderLevel()
HTML header level (h1 ... |
String |
getHeaderStyleClassesAsString()
Builds the HTML class attribute string by combining the headerStyleClasses list with a space delimiter |
List<String> |
getHeaderTagCssClasses()
Style classes that should be applied to the header text (h tag) |
String |
getHeaderTagStyle()
Style that should be applied to the header h tag |
String |
getHeaderText()
Text that should be displayed on the header |
List<? extends Component> |
getItems()
List of Component instances contained in the lower header group |
Group |
getLowerGroup()
Nested group instance that can be used to render contents below the header text |
Group |
getRightGroup()
Nested group instance that can be used to render contents to the right of the header text |
Group |
getUpperGroup()
Nested group instance that can be used to render contents above the header text |
void |
performFinalize(View view,
Object model,
Component parent)
The following finalization is performed: Set render on header group to false if no items are configured |
void |
setHeaderLevel(String headerLevel)
Setter for the header level |
void |
setHeaderTagCssClasses(List<String> headerTagCssClasses)
Setter for the list of classes to apply to the header h tag |
void |
setHeaderTagStyle(String headerTagStyle)
Setter for the header h tag style |
void |
setHeaderText(String headerText)
Setter for the header text |
void |
setItems(List<? extends Component> items)
Setter for the lower group's items |
void |
setLowerGroup(Group lowerGroup)
Setter for the header group instance that is rendered below the header text |
void |
setRightGroup(Group rightGroup)
Setter for the header group instance that is rendered to the right of the header text |
void |
setUpperGroup(Group upperGroup)
Setter for the header group instance that is rendered above the header text |
Methods inherited from class org.kuali.rice.krad.uif.element.ContentElementBase |
---|
getComponentTypeName |
Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
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.uif.component.Configurable |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport |
---|
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnLoadScript |
Constructor Detail |
---|
public Header()
Method Detail |
---|
public void performFinalize(View view, Object model, Component parent)
performFinalize
in interface Component
performFinalize
in class ComponentBase
view
- - view instance that should be finalized for renderingmodel
- - top level object containing the dataparent
- - parent componentComponentBase.performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.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 ComponentBase
ComponentBase.getComponentsForLifecycle()
public String getHeaderText()
public void setHeaderText(String headerText)
headerText
- public String getHeaderLevel()
public void setHeaderLevel(String headerLevel)
headerLevel
- public List<String> getHeaderTagCssClasses()
Note the style class given here applies to only the header text. The
style class property inherited from the Component
interface
can be used to set the class for the whole field div (which could
include a nested Group
)
Component.getCssClasses()
public void setHeaderTagCssClasses(List<String> headerTagCssClasses)
headerTagCssClasses
- public String getHeaderStyleClassesAsString()
public String getHeaderTagStyle()
Note the style given here applies to only the header text. The style
property inherited from the Component
interface can be used
to set the style for the whole header div (which could include a nested
Group
)
Component.getStyle()
public void setHeaderTagStyle(String headerTagStyle)
headerTagStyle
- public Group getUpperGroup()
The header group is useful for adding content such as links or actions that is presented with the header
public void setUpperGroup(Group upperGroup)
upperGroup
- public Group getRightGroup()
The header group is useful for adding content such as links or actions that is presented with the header
public void setRightGroup(Group rightGroup)
rightGroup
- public Group getLowerGroup()
The header group is useful for adding content such as links or actions that is presented with the header
public void setLowerGroup(Group lowerGroup)
lowerGroup
- public List<? extends Component> getItems()
Component
instances contained in the lower header group
Convenience method for configuration to get the items List from the lower header group
public void setItems(List<? extends Component> items)
Convenience method for configuration to set the items List for the lower header group
items
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |