net.sf.tacos.model
Interface ITreeContentProvider
- All Superinterfaces:
- IContentProvider
- All Known Implementing Classes:
- BeanWithChildrenTreeContentProvider
public interface ITreeContentProvider
- extends IContentProvider
- Author:
- phraktle
getChildren
Collection getChildren(Object parentElement)
- Returns all child elements of a parent. The returned collection is not
modified by the viewer.
- Parameters:
parentElement
-
- Returns:
- Collection of child nodes (never null)
hasChildren
boolean hasChildren(Object parentElement)
- Parameters:
parentElement
-
- Returns:
getParent
Object getParent(Object childElement)
- Returns the parent of the given element, or
null
if the
the parent can't be determined. Revealing a specific element will not
work in this case.
- Parameters:
childElement
-
- Returns:
- parent or null
Copyright © 2006-2007 SourceForge.net. All Rights Reserved.