Package org.openbp.cockpit.plugins.finder.treemodel

Model for a tree that is dynamically created.

See:
          Description

Interface Summary
DataMapper Mapper for an object that is displayed in the tree.
NodeMapper Mappes the node to a displayable string that is shown in the tree.
Strategy Strategy for the generic model.
 

Class Summary
GenericModel Generic model of the tree.
GenericNode Default node in the generic model.
LeafNode Leaf node of the tree.
Node Default node in the generic model.
PropertyNode Node for a group in the tree.
 

Package org.openbp.cockpit.plugins.finder.treemodel Description

Model for a tree that is dynamically created. All that is need is a strategy for the generic structure and various mapper for the nodes. The strategy contains the method createDataMapper. This data mapper is responsible to map the object that should be represented by the tree to the structure of the tree. E.g. if you want to display various books in the tree and the books should be grouped by the publisher and the author like this



Copyright © 2011. All Rights Reserved.