org.freehep.jas.plugin.tree
Interface FTreeNodeObjectProvider


public interface FTreeNodeObjectProvider

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

Author:
The FreeHEP team @ SLAC.

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

Method Detail

objectForNode

Object objectForNode(FTreeNode node,
                     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.


Copyright © 2013. All Rights Reserved.