public class LabelSeparateModifier extends ComponentModifierBase
Label instances out of a contained field so they will
be placed separately in the LayoutManagercomponentCode, namespaceCodeINITIAL_ORDER_VALUE| Constructor and Description |
|---|
LabelSeparateModifier() |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends Component>> |
getSupportedComponents()
Set of Component classes that may be sent to
the modifier |
void |
performModification(Object model,
Component component)
Iterates through the
Group items and if the label field is
not null and should be rendered, adds it to the new field list
immediately before the Field item the label applies to. |
getComponentPrototypes, getOrder, getRunCondition, getRunPhase, performInitialization, setOrder, setRunCondition, setRunPhasegetExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionsclone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopygetExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionsdataDictionaryPostProcessing, getComponentCode, getNamespaceCodepublic LabelSeparateModifier()
public void performModification(Object model, Component component)
Group items and if the label field is
not null and should be rendered, adds it to the new field list
immediately before the Field item 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 the ComponentModifier should perform its work against
the given Component instancemodel - - top level object containing the view datacomponent - - the component instance to modifyRunComponentModifiersTaskpublic Set<Class<? extends Component>> getSupportedComponents()
Set of Component classes that may be sent to
the modifier
If 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
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.