org.freehep.jas.plugin.tree
Interface FTreeNodeObjectProvider


public interface FTreeNodeObjectProvider

Interface to be implemented by classes that can provide objects for FTreeNode.


Method Summary
 java.lang.Object objectForNode(FTreeNode node, java.lang.Class clazz)
          Get the object for a given FTreeNode.
 

Method Detail

objectForNode

public java.lang.Object objectForNode(FTreeNode node,
                                      java.lang.Class clazz)
Get the object for a given FTreeNode.

Parameters:
node - The FTreeNode for which the object is to be returned.
clazz - The class of the object being requested.
Returns:
The corresponding object. If no object is to be provided, null is to be returned.