net.sf.doolin.gui.field.tree.support
Class PropertyChildren

java.lang.Object
  extended by net.sf.doolin.gui.field.tree.support.AbstractChildren
      extended by 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

Constructor Summary
PropertyChildren()
           
 
Method Summary
 Collection<?> getChildBeans(Object root)
          Computes the children objects from a parent
 String getProperty()
           
 void setProperty(String property)
           
 
Methods inherited from class net.sf.doolin.gui.field.tree.support.AbstractChildren
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyChildren

public PropertyChildren()
Method Detail

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.