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, cellItems, lgTotalSize, mdTotalSize, NUMBER_OF_COLUMNS, smTotalSize, xsTotalSizecomponentCode, namespaceCode| Constructor and Description | 
|---|
| CssGridLayoutManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getDefaultItemSize()The default "cell" size to use for this layout - this converts to medium size
 (max setting, and the default, is 12) | 
| CssGridSizes | getDefaultItemSizes()Default sizes for each item in this css grid layout, these settings will override the setting in
 defaultItemSize,
 but will not override item specific cssGridSizes. | 
| void | performFinalize(Object model,
                              LifecycleElement component)CssGridLayoutManager's performFinalize method calculates and separates the items into rows
 based on their colSpan settings and the defaultItemSize setting
 The last phase before the view is rendered | 
| void | setDefaultItemSize(int defaultItemSize)Set the default colSpan for this layout's items | 
| void | setDefaultItemSizes(CssGridSizes defaultItemSizes) | 
addLeftClearCssClass, calculateCssClassAndSize, getCellCssClassAttributes, getCellItems, getCellStyleClassesAsStringaddStyleClass, appendToStyle, checkMutable, clone, getAdditionalCssClasses, getContainerIdSuffix, getContext, getCssClasses, getId, getLibraryCssClasses, getPhasePathMapping, getPropertyReplacers, getStyle, getStyleClassesAsString, getSupportedContainer, getTemplate, getTemplateName, getViewPath, getViewStatus, 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, skipLifecyclegetExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionscopy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionsdataDictionaryPostProcessing, getComponentCode, getNamespaceCodepublic CssGridLayoutManager()
public void performFinalize(Object model, LifecycleElement component)
Here final preparations can be made based on the updated view state.
performFinalize in interface LifecycleElementperformFinalize in class LayoutManagerBasemodel - - top level object containing the datacomponent - - parent componentpublic int getDefaultItemSize()
This is a quick and easy setter for default mdSize for this layout, as a common use case is to have a different layout for medium devices and up, while small and extra small will consume the full screen. For customizations at every screen size, use defaultItemSizes.
public void setDefaultItemSize(int defaultItemSize)
defaultItemSize - public CssGridSizes getDefaultItemSizes()
public void setDefaultItemSizes(CssGridSizes defaultItemSizes)
getDefaultItemSizes()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.