Package org.kuali.rice.krad.uif.modifier
Class LabelSeparateModifier
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
org.kuali.rice.krad.uif.modifier.ComponentModifierBase
org.kuali.rice.krad.uif.modifier.LabelSeparateModifier
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DictionaryBean,UifDictionaryBean,Ordered,ComponentModifier,org.springframework.core.Ordered
Pulls
Label instances out of a contained field so they will
be placed separately in the LayoutManager- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCodeFields inherited from interface org.kuali.rice.krad.uif.component.Ordered
INITIAL_ORDER_VALUEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSetofComponentclasses that may be sent to the modifiervoidperformModification(Object model, Component component) Iterates through theGroupitems and if the label field is not null and should be rendered, adds it to the new field list immediately before theFielditem the label applies to.Methods inherited from class org.kuali.rice.krad.uif.modifier.ComponentModifierBase
getComponentPrototypes, getOrder, getRunCondition, getRunPhase, performInitialization, setOrder, setRunCondition, setRunPhaseMethods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionsMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCodeMethods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
-
Constructor Details
-
LabelSeparateModifier
public LabelSeparateModifier()
-
-
Method Details
-
performModification
Iterates through theGroupitems and if the label field is not null and should be rendered, adds it to the new field list immediately before theFielditem the label applies to. Finally the new list of components is set on the group Invoked within the configured phase of the component lifecycle. This is where theComponentModifiershould perform its work against the givenComponentinstance- Parameters:
model- - top level object containing the view datacomponent- - the component instance to modify- See Also:
-
getSupportedComponents
SetofComponentclasses that may be sent to the modifierIf an empty or null list is returned, it is assumed the modifier supports all components. The returned set will be used by the dictionary validation
- Returns:
- Set component classes
-