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

cern::gp::explorer::GPListExplorerPanel Class Reference

Inheritance diagram for cern::gp::explorer::GPListExplorerPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void setRootNode (GPNode parentNode)
GPNode getRootNode ()
void setName (String name)
GPNode[] getListNodes ()
abstract void setListNodes (final GPNode[] nodes)

Static Public Member Functions

GPNode createRootNode (Object rootBean, GPNode[] nodes) throws IntrospectionException

Protected Member Functions

 GPListExplorerPanel ()
final Object getRootBean ()
final void setRootBean (Object newRootBean)

Private Attributes

GPNode rootNode
Object rootBean

Detailed Description

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


Constructor & Destructor Documentation

cern::gp::explorer::GPListExplorerPanel::GPListExplorerPanel  )  [inline, protected]
 

do not instantiate directly


Member Function Documentation

GPNode cern::gp::explorer::GPListExplorerPanel::createRootNode Object  rootBean,
GPNode[]  nodes
throws IntrospectionException [inline, static]
 

Utility method, takes an array of Nodes and creates a RootNode with a default ChildrenListManager for it

Parameters:
rootBean the Bean to use int he RootNode
nodes the children nodes of the rootNode
Returns:
a rootNode representing the rootBean and with the children nodes
Exceptions:
IntrospectionException 
Since:
2.0.6

GPNode [] cern::gp::explorer::GPListExplorerPanel::getListNodes  )  [inline]
 

accessor method, returns the nodes set with the setListNodes(GPNode[]) method. Attention: this implementation returns the order the nodes had when they were set with the setListNodes() method, it not reflect the order of the nodes as they are displayed in the Explorer

Returns:
the nodes displayed in this explorer

final Object cern::gp::explorer::GPListExplorerPanel::getRootBean  )  [inline, protected]
 

accessor method, can be un-finaled

Returns:

GPNode cern::gp::explorer::GPListExplorerPanel::getRootNode  )  [inline]
 

accessor method

Returns:
the node at the root of the explored hierarchy

abstract void cern::gp::explorer::GPListExplorerPanel::setListNodes final GPNode[]  nodes  )  [pure virtual]
 

Implemented in cern::gp::explorer::ListTableExplorer.

void cern::gp::explorer::GPListExplorerPanel::setName String  name  )  [inline]
 

Implementation to set the name of the explorer in the Title

Since:
2.0.6
See also:
java.awt.Component#setName(java.lang.String)

final void cern::gp::explorer::GPListExplorerPanel::setRootBean Object  newRootBean  )  [inline, protected]
 

accessor method, can be un-finaled

Parameters:
newRootBean 

void cern::gp::explorer::GPListExplorerPanel::setRootNode GPNode  parentNode  )  [inline]
 

set the parent node of the list of nodes to be explored. The parent node is not displayed, only its children nodes. Use this method

  • if you already have a root node whose children you want to display
  • if you want to control the nodes with your own ChildrenManager as shown below

Parameters:
parentNode the parent of the nodes to be displayed in the List

Reimplemented in cern::gp::explorer::ListTableExplorer.


Member Data Documentation

Object cern::gp::explorer::GPListExplorerPanel::rootBean [private]
 

GPNode cern::gp::explorer::GPListExplorerPanel::rootNode [private]
 

Reimplemented in cern::laser::guiplatform::windows::DisplayableColumnExplorer.


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