|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.layout.LayoutManagerBase org.kuali.rice.krad.uif.layout.CssGridLayoutManagerBase
public abstract class CssGridLayoutManagerBase
Css Grid Layout managers are a layout managers which creates div "rows" and "cells" to replicate a table look by using div elements for its items.
Field Summary | |
---|---|
protected static String |
BOOTSTRAP_SPAN_PREFIX
|
protected List<String> |
cellCssClassAttributes
|
protected Map<String,String> |
conditionalRowCssClasses
|
protected static int |
NUMBER_OF_COLUMNS
|
protected List<String> |
rowCssClassAttributes
|
protected String |
rowLayoutCssClass
|
protected List<List<Component>> |
rows
|
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
componentCode, namespaceCode |
Constructor Summary | |
---|---|
CssGridLayoutManagerBase()
|
Method Summary | ||
---|---|---|
protected
|
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 |
|
protected String |
getCellStyleClassesAsString(List<String> cellCssClasses)
Builds the HTML class attribute string by combining the cellStyleClasses list with a space delimiter |
|
Map<String,String> |
getConditionalRowCssClasses()
The row css classes for the rows of this layout |
|
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 |
setConditionalRowCssClasses(Map<String,String> conditionalRowCssClasses)
Set conditionalRowCssClasses |
|
void |
setRowLayoutCssClass(String rowLayoutCssClass)
Set the rowLayoutCssClass |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode |
Methods inherited from interface org.kuali.rice.krad.datadictionary.Copyable |
---|
copy |
Field Detail |
---|
protected static final int NUMBER_OF_COLUMNS
protected static final String BOOTSTRAP_SPAN_PREFIX
protected Map<String,String> conditionalRowCssClasses
protected String rowLayoutCssClass
protected List<List<Component>> rows
protected List<String> rowCssClassAttributes
protected List<String> cellCssClassAttributes
Constructor Detail |
---|
public CssGridLayoutManagerBase()
Method Detail |
---|
protected String getCellStyleClassesAsString(List<String> cellCssClasses)
public List<List<Component>> getRows()
public List<String> getRowCssClassAttributes()
public List<String> getCellCssClassAttributes()
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)
DictionaryBeanBase
copyProperties
in class LayoutManagerBase
component
- base beanDictionaryBeanBase.copyProperties(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |