public class CssGridLayoutManager extends LayoutManagerBase
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
cellCssClassAttributes |
protected List<String> |
rowCssClassAttributes |
protected List<List<Component>> |
rows |
| Constructor and Description |
|---|
CssGridLayoutManager() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
copyProperties(T component)
Copies properties for copy()
|
List<String> |
getCellCssClassAttributes()
List of css class HTML attribute values ordered by the order in which the cell appears
|
Map<String,String> |
getConditionalRowCssClasses()
The row css classes for the rows of this layout
|
int |
getDefaultItemColSpan()
The default cell colSpan to use for this layout (max setting, and the bean default, is 9)
|
List<String> |
getRowCssClassAttributes()
List of css class HTML attribute values ordered by index of row
|
String |
getRowLayoutCssClass()
The layout css class used by the framework to represent the row as a row visually (currently
using a bootstrap class), which should not be manually reset in most situations
|
List<List<Component>> |
getRows()
Get the rows (which are a list of components each)
|
void |
performFinalize(View view,
Object model,
Container container)
CssGridLayoutManager's performFinalize method calculates and separates the items into rows
based on their colSpan settings and the defaultItemColSpan setting
|
void |
setConditionalRowCssClasses(Map<String,String> conditionalRowCssClasses)
Set conditionalRowCssClasses
|
void |
setDefaultItemColSpan(int defaultItemColSpan)
Set the default colSpan for this layout's items
|
void |
setRowLayoutCssClass(String rowLayoutCssClass)
Set the rowLayoutCssClass
|
addStyleClass, appendToStyle, copy, getAdditionalCssClasses, getComponentPrototypes, getComponentsForLifecycle, getContext, getCssClasses, getId, getLibraryCssClasses, getPropertyReplacers, getStyle, getStyleClassesAsString, getSupportedContainer, getTemplate, getTemplateName, performApplyModel, performInitialization, pushAllToContext, pushObjectToContext, setAdditionalCssClasses, setContext, setCssClasses, setId, setLibraryCssClasses, setPropertyReplacers, setStyle, setStyleClasses, setTemplate, setTemplateNamegetExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraphgetComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraphgetComponentCode, getNamespaceCodeprotected List<String> rowCssClassAttributes
protected List<String> cellCssClassAttributes
public CssGridLayoutManager()
public void performFinalize(View view, Object model, Container container)
performFinalize in interface LayoutManagerperformFinalize in class LayoutManagerBaseview - - view instance that should be finalized for renderingmodel - - top level object containing the datacontainer - - Container the layout manager applies toComponent.performFinalize(org.kuali.rice.krad.uif.view.View, Object,
org.kuali.rice.krad.uif.component.Component)public List<List<Component>> getRows()
public List<String> getRowCssClassAttributes()
public List<String> getCellCssClassAttributes()
public int getDefaultItemColSpan()
public void setDefaultItemColSpan(int defaultItemColSpan)
defaultItemColSpan - public Map<String,String> getConditionalRowCssClasses()
To set a css class on all rows, use "all" as a key. To set a class for even rows, use "even" as a key, for odd rows, use "odd". Use a one-based index to target a specific row by index.
public void setConditionalRowCssClasses(Map<String,String> conditionalRowCssClasses)
conditionalRowCssClasses - public String getRowLayoutCssClass()
public void setRowLayoutCssClass(String rowLayoutCssClass)
rowLayoutCssClass - protected <T> void copyProperties(T component)
DictionaryBeanBasecopyProperties in class LayoutManagerBasecomponent - base beanComponentBase.copy()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.