List of all members.
Detailed Description
A GUI component that combines a Tree with a Table, whith a Tree on the left side and a table on the right. Each node of the tree corresponds to a row in the table. It can be used to explore JavaBeans in the Tree and show ther properties in the Table. This class shall simplify the task of creating and parametrizing this type of explorer. As the other Explorers provided by the GP project, it is strongly based on JavaBeans: The nodes in the Tree contain JavaBeans-compliant objects, and the rows in the Table display the properties of these objects. The implementation enables the developer to create a Explorer that s/he can easily place into a NetBeans Mode. It has methods to easily configure the colums of the Table. It is recommended that the developer uses the NodeFactory and ChildrenListManager or ChildrenMapManager to create the Node hierarchy to be explored.
- Version:
- Revision:
- 1.2
- Date:
- 2006/09/25 08:52:36
- Author:
- Vito Baggiolini
Constructor & Destructor Documentation
cern.gp.explorer.TreeTableExplorer.TreeTableExplorer |
( |
|
) |
|
cern.gp.explorer.TreeTableExplorer.TreeTableExplorer |
( |
Class |
viewableBeanClass |
) |
|
create a TreeTableExplorer and specify the class of the bean from which the Table rows shall be inferred. This constructor works if you want to display the properties of only one Bean in the Table. Otherwise use another constructor.
- Parameters:
-
| viewableBeanClass | the bean class whose properties shall be displayed in the Table |
cern.gp.explorer.TreeTableExplorer.TreeTableExplorer |
( |
Class[] |
viewableBeanClasses |
) |
|
create a TreeTableExplorer and specify which beans shall be visible in the Table part of the TreeTable. Only Bean classes that equal or inherit from one of the classes passed to this constructor will have their properties displayed in the Table. The others table cells will be empty.
- Parameters:
-
| viewableBeanClass | the bean classes whose properties shall be displayed in the Table |
Member Function Documentation
int cern.gp.explorer.TreeTableExplorer.getRowHeight |
( |
|
) |
|
void cern.gp.explorer.TreeTableExplorer.setPreferredSize |
( |
java.awt.Dimension |
dim |
) |
|
void cern.gp.explorer.TreeTableExplorer.setProperties |
( |
Node.Property[] |
props, |
|
|
boolean[] |
sortable | |
|
) |
| | |
void cern.gp.explorer.TreeTableExplorer.setRowHeigth |
( |
int |
rowHeight |
) |
|
void cern.gp.explorer.TreeTableExplorer.setTableColumnPreferredWidth |
( |
int |
colIndex, |
|
|
int |
width | |
|
) |
| | |
void cern.gp.explorer.TreeTableExplorer.setTableColumns |
( |
Object |
bean, |
|
|
String[] |
propNames | |
|
) |
| | throws IntrospectionException |
void cern.gp.explorer.TreeTableExplorer.setTableColumns |
( |
Class[] |
propTypes, |
|
|
String[] |
propNames | |
|
) |
| | |
void cern.gp.explorer.TreeTableExplorer.setTableColumns |
( |
Object |
bean |
) |
throws IntrospectionException |
void cern.gp.explorer.TreeTableExplorer.setTableColumns |
( |
GPNode |
node, |
|
|
String[] |
propNames | |
|
) |
| | |
void cern.gp.explorer.TreeTableExplorer.setTableColumns |
( |
Class |
beanClass |
) |
throws IntrospectionException |
void cern.gp.explorer.TreeTableExplorer.setTableColumns |
( |
Class |
beanClass, |
|
|
String[] |
propNames | |
|
) |
| | throws IntrospectionException |
void cern.gp.explorer.TreeTableExplorer.setTreePreferredWidth |
( |
int |
width |
) |
|
The documentation for this class was generated from the following file: