public class CssGridLayoutManager extends CssGridLayoutManagerBase
Items are added into rows based on their colSpan setting, while each row has a max size of 12 columns. By default, if colSpan is not set on an item, that item will take a full row.
BOOTSTRAP_SPAN_PREFIX, cellCssClassAttributes, conditionalRowCssClasses, NUMBER_OF_COLUMNS, rowCssClassAttributes, rowLayoutCssClass, rows
componentCode, namespaceCode
Constructor and Description |
---|
CssGridLayoutManager() |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultItemColSpan()
The default cell colSpan to use for this layout (max setting, and the bean default, is 12)
|
void |
performFinalize(Object model,
LifecycleElement component)
CssGridLayoutManager's performFinalize method calculates and separates the items into rows
based on their colSpan settings and the defaultItemColSpan setting
The last phase before the view is rendered
|
void |
setDefaultItemColSpan(int defaultItemColSpan)
Set the default colSpan for this layout's items
|
getCellCssClassAttributes, getCellStyleClassesAsString, getConditionalRowCssClasses, getRowCssClassAttributes, getRowLayoutCssClass, getRows, setConditionalRowCssClasses, setRowLayoutCssClass
addStyleClass, appendToStyle, checkMutable, clone, getAdditionalCssClasses, getContainerIdSuffix, getContext, getCssClasses, getId, getLibraryCssClasses, getPhasePathMapping, getPropertyReplacers, getStyle, getStyleClassesAsString, getSupportedContainer, getTemplate, getTemplateName, getViewPath, getViewStatus, initializePendingTasks, isFinal, isInitialized, isModelApplied, isMutable, isRender, notifyCompleted, performApplyModel, performInitialization, pushAllToContext, pushObjectToContext, setAdditionalCssClasses, setContainerIdSuffix, setContext, setCssClasses, setId, setLibraryCssClasses, setPhasePathMapping, setPropertyReplacers, setRender, setStyle, setStyleClasses, setTemplate, setTemplateName, setViewPath, setViewStatus, skipLifecycle
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
public CssGridLayoutManager()
public void performFinalize(Object model, LifecycleElement component)
Here final preparations can be made based on the updated view state.
performFinalize
in interface LifecycleElement
performFinalize
in class LayoutManagerBase
model
- - top level object containing the datacomponent
- - parent componentpublic int getDefaultItemColSpan()
public void setDefaultItemColSpan(int defaultItemColSpan)
defaultItemColSpan
- Copyright © 2005–2014 The Kuali Foundation. All rights reserved.