public interface StackedLayoutManager extends CollectionLayoutManager
Modifier and Type | Method and Description |
---|---|
Group |
getLineGroupPrototype()
Group instance that is used as a prototype for creating the collection
line groups.
|
List<Group> |
getStackedGroups()
Final
List of Groups to render for the collection |
List<Group> |
getStackedGroupsNoWrapper()
Used by reflection during the lifecycle to get groups for the lifecycle when not using a wrapper group
|
String |
getStyleClassesAsString()
Get a string representation of all style classes defined by this layout manager.
|
List<String> |
getSummaryFields()
List of attribute names from the collection line class that should be
used to build the line summary.
|
String |
getSummaryTitle()
Text to appears in the header for each collection lines Group.
|
Group |
getWrapperGroup()
Group that will 'wrap' the generated collection lines so that they have a different layout from the general
stacked layout
|
boolean |
isRenderLineActionsInHeader()
When true, actions specified in lineActions will appear to the very right of the header
(appears in the corner of the stacked item) by placing the actions in the Header's rightGroup.
|
boolean |
isRenderLineActionsInLineGroup()
Flag that indicates whether actions will be added in the same group as the line items instead of in the
footer of the line group
|
void |
setLineGroupPrototype(Group lineGroupPrototype)
Setter for the line group prototype
|
void |
setRenderLineActionsInHeader(boolean renderLineActionsInHeader) |
void |
setRenderLineActionsInLineGroup(boolean actionsInLineGroup)
Set flag to add actions in the same group as the line items
|
void |
setStackedGroups(List<Group> stackedGroups)
Setter for the collection groups
|
void |
setSummaryFields(List<String> summaryFields)
Setter for the summary field name list
|
void |
setSummaryTitle(String summaryTitle)
Setter for the summary title text
|
void |
setWrapperGroup(Group wrapperGroup)
Setter for the wrapper group that will receive the generated line groups
|
buildLine, getAddLineGroup, getPagerWidget, getSelectFieldPrototype, getSubCollectionFieldGroupPrototype, processPagingRequest, setAddLineGroup, setPagerWidget, setSelectFieldPrototype, setSubCollectionFieldGroupPrototype
addStyleClass, appendToStyle, getAdditionalCssClasses, getCssClasses, getLibraryCssClasses, getPropertyReplacers, getStyle, getSupportedContainer, getTemplate, getTemplateName, setAdditionalCssClasses, setCssClasses, setLibraryCssClasses, setPropertyReplacers, setStyle, setTemplate, setTemplateName
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
checkMutable, getContainerIdSuffix, getContext, getId, getPhasePathMapping, getViewPath, getViewStatus, isFinal, isInitialized, isModelApplied, isMutable, isRender, notifyCompleted, performApplyModel, performFinalize, performInitialization, pushAllToContext, pushObjectToContext, setContainerIdSuffix, setContext, setId, setPhasePathMapping, setRender, setViewPath, setViewStatus, skipLifecycle
String getSummaryTitle()
getSummaryFields()
to build up the final header
textvoid setSummaryTitle(String summaryTitle)
summaryTitle
- List<String> getSummaryFields()
StackedLayoutManagerBase.buildLineHeaderText(Object, org.kuali.rice.krad.uif.container.Group)
void setSummaryFields(List<String> summaryFields)
summaryFields
- Group getLineGroupPrototype()
void setLineGroupPrototype(Group lineGroupPrototype)
lineGroupPrototype
- Group getWrapperGroup()
By default (when the wrapper group is null), each collection line will become a group and the groups are rendered one after another. If the wrapper group is configured, the generated groups will be inserted as the items for the wrapper group, and the layout manager configured for the wrapper group will determine how they are rendered. For example, the layout manager could be a grid layout configured for three columns, which would layout the first three lines horizontally then break to a new row.
void setWrapperGroup(Group wrapperGroup)
wrapperGroup
- List<Group> getStackedGroups()
List
of Groups to render for the collectionList<Group> getStackedGroupsNoWrapper()
There are no references to this method in the code, this is intentional. DO NOT REMOVE.
void setStackedGroups(List<Group> stackedGroups)
stackedGroups
- boolean isRenderLineActionsInLineGroup()
void setRenderLineActionsInLineGroup(boolean actionsInLineGroup)
actionsInLineGroup
- boolean isRenderLineActionsInHeader()
void setRenderLineActionsInHeader(boolean renderLineActionsInHeader)
isRenderLineActionsInHeader()
String getStyleClassesAsString()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.