Tree Data Sources
ilog.server.jsds.tree
This package includes the following classes which represent a server object relation as a tree and each target object of this relation as a tree item.
IlsRpTree
IlsRpRootItem
IlsRpTreeItem
IlsTreeDataSource
IlsTreeDS2JTreeAdapter
ilog.server.jsds.tree.IlsRpTree
The classIlsRpTree instantiates tree representation objects which can be used to represent hierarchical relations. IlsRpTreeItem are the target objects of the relation that is represented as a tree. The root of the tree is represented by an IlsRpRootItem object, a subclass of IlsRpTreeItem. Tree representation objects interface server objects with tree data sources (see IlsTreeDataSource).
ilog.server.jsds.tree.IlsRpRootItem
This class instantiates the root element of a hierarchical relation represented as a tree (see IlsRpTree). There can be only one root in a tree representation object.
ilog.server.jsds.tree.IlsRpTreeItem
This class instantiates tree items in a structure. Each IlsRpTreeItem object knows its parent. Tree items interface between server objects with tree data sources (see IlsTreeDataSource).
ilog.server.jsds.tree.IlsTreeDataSource
Objects of this class make up a bridge between an Server representation model and a Swing JTree object through a IlsTreeDS2JTreeAdapter.
ilog.server.jsds.adapter.IlsTreeDS2JTreeAdapter
Adapters are interfaces between Java data sources and graphical objects. You can derive this class or create adapter strategies, for example, to map user-defined properties defined in the view specification file. The class IlsTreeDS2JTreeAdapter provides a basic interface between a tree data source and a Swing JTree and its underlying DefaultTreeModel object.
Predefined adapter strategies provide functionalities to these basic adapters:
-
IlsTreeDS2JTreeKeyStrategy: allows you to map keyboard actions (for example, removing a node by pressing the Delete key).
-
IlsTreeDS2JTreeMouseStrategy: allows you to manage mouse user interaction on the associated JTree instance (for example, dereferencing a node).