net.sf.doolin.gui.field.tree.support
Class PropertyChildren
java.lang.Object
net.sf.doolin.gui.field.tree.support.AbstractChildren
net.sf.doolin.gui.field.tree.support.PropertyChildren
- All Implemented Interfaces:
- Children
public class PropertyChildren
- extends AbstractChildren
This children definition implementation calculates the list of children
objects based on a property on the parent object.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyChildren
public PropertyChildren()
getChildBeans
public Collection<?> getChildBeans(Object root)
- Description copied from interface:
Children
- Computes the children objects from a parent
- Parameters:
root - Parent object
- Returns:
- List of children objects
getProperty
public String getProperty()
- Returns:
- Property name to get on the parent object
setProperty
public void setProperty(String property)
- Parameters:
property - Property name to get on the parent object
Copyright © 2011. All Rights Reserved.