public class LabelSeparateModifier extends ComponentModifierBase
Label
instances out of a contained field so they will
be placed separately in the LayoutManager
componentCode, namespaceCode
INITIAL_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, setRunPhase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
public 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 modifyRunComponentModifiersTask
public 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–2016 The Kuali Foundation. All rights reserved.