org.kuali.rice.krad.uif.layout
Class ListLayoutManager

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
      extended by org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
          extended by org.kuali.rice.krad.uif.layout.LayoutManagerBase
              extended by org.kuali.rice.krad.uif.layout.ListLayoutManager
All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, LayoutManager, LifecycleElement

public class ListLayoutManager
extends LayoutManagerBase

List layout manager is a layout manager for group types to output their items as either ordered or unordered lists.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode
 
Constructor Summary
ListLayoutManager()
           
 
Method Summary
 boolean isOrderedList()
          If true, this list layout is an ordered list (ol).
 void performApplyModel(Object model, LifecycleElement component)
          Iterates through the groups items and sets the rendered in list boolean.
 void setOrderedList(boolean orderedList)
          Setter for isOrderedList().
 
Methods inherited from class org.kuali.rice.krad.uif.layout.LayoutManagerBase
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, performFinalize, performInitialization, pushAllToContext, pushObjectToContext, setAdditionalCssClasses, setContainerIdSuffix, setContext, setCssClasses, setId, setLibraryCssClasses, setPhasePathMapping, setPropertyReplacers, setRender, setStyle, setStyleClasses, setTemplate, setTemplateName, setViewPath, setViewStatus, skipLifecycle
 
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
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, setExpressionGraph, setPropertyExpressions
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
 

Constructor Detail

ListLayoutManager

public ListLayoutManager()
Method Detail

performApplyModel

public void performApplyModel(Object model,
                              LifecycleElement component)
Iterates through the groups items and sets the rendered in list boolean. Called after the initialize phase to perform conditional logic based on the model data

Where components can perform conditional logic such as dynamically generating new fields or setting field state based on the given data

Specified by:
performApplyModel in interface LifecycleElement
Overrides:
performApplyModel in class LayoutManagerBase
Parameters:
model - - Top level object containing the data (could be the form or a top level business object, dto)
component - parent lifecycle element

isOrderedList

public boolean isOrderedList()
If true, this list layout is an ordered list (ol). Otherwise, the the layout is an unordered list (ul).

Returns:
true if orderedList, false if unordered

setOrderedList

public void setOrderedList(boolean orderedList)
Setter for isOrderedList().

Parameters:
orderedList - property value


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.