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, ComponentModifier, UifCloneable, org.springframework.core.Ordered
public class LabelSeparateModifier
- extends ComponentModifierBase
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:
- Serialized Form
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Method Summary |
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. |
LabelSeparateModifier
public LabelSeparateModifier()
performModification
public 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.
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
instance
- Parameters:
model
- - top level object containing the view datacomponent
- - the component instance to modify- See Also:
RunComponentModifiersTask
getSupportedComponents
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
- Returns:
- Set component classes
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.