Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::gp::explorer::ListExplorer Class Reference

Inheritance diagram for cern::gp::explorer::ListExplorer:

Inheritance graph
[legend]
Collaboration diagram for cern::gp::explorer::ListExplorer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ListExplorer ()
 ListExplorer (GPNode[] nodes)
ListViewListAccess getListAccess ()
final void setListNodes (GPNode[] nodes)

Protected Member Functions

 ListExplorer (ListViewListAccess view)

Private Attributes

final ListViewListAccess listViewListAccess

Detailed Description

An Explorer GUI Component that displays Children of a root node as a List. It is recommended that the developer uses the NodeFactory and ChildrenListManager or ChildrenMapManager to create the Node hierarchy to be explored.

Author:
Vito Baggiolini
Version:
Revision
1.2
Date
2006/09/25 08:52:36


Constructor & Destructor Documentation

cern::gp::explorer::ListExplorer::ListExplorer  )  [inline]
 

Creates an explorer with the default model and the default view

cern::gp::explorer::ListExplorer::ListExplorer GPNode[]  nodes  )  [inline]
 

create a ListExplorer and set the nodes to display

Parameters:
nodes the nodes to display

cern::gp::explorer::ListExplorer::ListExplorer ListViewListAccess  view  )  [inline, protected]
 

Creates an explorer with the specified view

Parameters:
view the ListView to be used in this explorer


Member Function Documentation

ListViewListAccess cern::gp::explorer::ListExplorer::getListAccess  )  [inline]
 

getter method

Returns:
the ListView instance used in this explorer

final void cern::gp::explorer::ListExplorer::setListNodes GPNode[]  nodes  )  [inline]
 

Set the list of nodes to be displayed. This method first checks whether all nodes have a common parent and calls the method setRootNode(GPNode) (with you should have called instead of this one). If not, it creates a root node and creates a ChildrenManager for the nodes. In other words, you cannot use this method if you want to use your own ChildrenManager implementation to control the displayed list of nodes. Use this method preferably if you have an array of nodes without a common parent, and if you do not need to use your own ChildrenManager.

Note that you can still get hold of the siblings of one of your GPNode object with the GPNode#getNodeCollection method.

Parameters:
nodes the array nodes to be displayed in the ListExplorer


Member Data Documentation

final ListViewListAccess cern::gp::explorer::ListExplorer::listViewListAccess [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:24 2009 for ACS Java API by doxygen 1.3.8