org.kuali.rice.krad.uif.layout
Class CssGridLabelColumnLayoutManager
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
org.kuali.rice.krad.uif.layout.CssGridLabelColumnLayoutManager
- All Implemented Interfaces:
- Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, LayoutManager, LifecycleElement
public class CssGridLabelColumnLayoutManager
- extends CssGridLayoutManagerBase
A Css Grid Layout which only takes fields as its content and separates out the field's labels into
separate columns
This layout does not use the container's items' colspan property to influence column size.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.uif.layout.LayoutManagerBase |
addStyleClass, appendToStyle, checkMutable, clone, getAdditionalCssClasses, getContext, getCssClasses, getId, getLibraryCssClasses, getPhasePathMapping, getPropertyReplacers, getStyle, getStyleClassesAsString, getSupportedContainer, getTemplate, getTemplateName, getViewPath, getViewStatus, initializePendingTasks, isFinal, isInitialized, isModelApplied, isMutable, isRender, notifyCompleted, performApplyModel, performInitialization, preventModification, pushAllToContext, pushObjectToContext, setAdditionalCssClasses, setContext, setCssClasses, setId, setLibraryCssClasses, setPhasePathMapping, setPropertyReplacers, setRender, setStyle, setStyleClasses, setTemplate, setTemplateName, setViewPath, setViewStatus, skipLifecycle |
CssGridLabelColumnLayoutManager
public CssGridLabelColumnLayoutManager()
performFinalize
public void performFinalize(Object model,
LifecycleElement component)
- CssGridLabelColumnLayoutManager's performFinalize method calculates and separates the items into rows
The last phase before the view is rendered
Here final preparations can be made based on the updated view state.
- Specified by:
performFinalize
in interface LifecycleElement
- Overrides:
performFinalize
in class LayoutManagerBase
- Parameters:
model
- - top level object containing the datacomponent
- - parent component
getLabelColumnCssClass
public String getLabelColumnCssClass()
- The css class to use on the label column's div "cells"
- Returns:
- the css class to use on label column div "cells"
setLabelColumnCssClass
public void setLabelColumnCssClass(String labelColumnCssClass)
- Setter for
getLabelColumnCssClass()
.
- Parameters:
labelColumnCssClass
- property value
getNumberOfLabelColumns
public int getNumberOfLabelColumns()
- The number of label columns used in this layout
The only supported values for this property are 1-3 which translates to 2-6 columns per a
row. This property defines how many of the total columns are label columns.
- Returns:
- the total number of label columns
setNumberOfLabelColumns
public void setNumberOfLabelColumns(int numberOfLabelColumns)
- Setter for
getNumberOfLabelColumns()
.
- Parameters:
numberOfLabelColumns
- property value
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.