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

cern::gp::explorer::TableHolder Interface Reference

Inheritance diagram for cern::gp::explorer::TableHolder:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void setTableColumns (Class[] propTypes, String[] propNames)
void setTableColumns (Object bean) throws IntrospectionException
void setTableColumns (Object bean, String[] propNames) throws IntrospectionException
void setTableColumns (GPNode node, String[] propNames)
void setTableColumns (Class beanClass) throws IntrospectionException
void setTableColumns (Class beanClass, String[] propNames) throws IntrospectionException
abstract void setTableColumns (Class[] propTypes, String[] propNames, boolean[] sortable)
abstract void setTableColumns (Object bean, String[] propNames, boolean[] sortable) throws IntrospectionException
abstract void setTableColumns (GPNode node, String[] propNames, boolean[] sortable)

Detailed Description

A class that contains common code related to the Tables contained in the ListTableExplorer and TreeTableExplorer. Both ListTableExplorer and TreeTableExplorer contain an instance of this class and delegate to it.

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


Member Function Documentation

abstract void cern::gp::explorer::TableHolder::setTableColumns GPNode  node,
String[]  propNames,
boolean[]  sortable
[pure virtual]
 

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

abstract void cern::gp::explorer::TableHolder::setTableColumns Object  bean,
String[]  propNames,
boolean[]  sortable
throws IntrospectionException [pure virtual]
 

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

abstract void cern::gp::explorer::TableHolder::setTableColumns Class[]  propTypes,
String[]  propNames,
boolean[]  sortable
[pure virtual]
 

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

void cern::gp::explorer::TableHolder::setTableColumns Class  beanClass,
String[]  propNames
throws IntrospectionException
 

Sets the columns of the Table. This method determines the type of the properties by doing reflection on the beanClass. Beware: all properties passed in the propNames argument must also be present in the beanClass. If you don't have such a bean, please use the other setTableColums() method.

Deprecated:
use setTableColumns(Object, String[]) instead
See also:
setTableColumns(Class[], String[])
Parameters:
propNames the name of the properties to be displayed
beanClass the class of one of the beans that shall be displayed. It must have all properties mentioned in the propNames argument
Exceptions:
IntrospectionException if a property is not found in the beanClass

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

void cern::gp::explorer::TableHolder::setTableColumns Class  beanClass  )  throws IntrospectionException
 

Sets the columns of the Table. This method determines the type of the properties by doing reflection on the beanClass. As a result all properties of the bean will be displayed as columns in the Table

Deprecated:
use setTableColumns(Object) instead
Parameters:
the class from which the table colums are inferred

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

void cern::gp::explorer::TableHolder::setTableColumns GPNode  node,
String[]  propNames
 

Sets the columns of the Table. This method determines the type of the method by using the information contained in the GPNode. It also takes into account the additional info specified using the cern.gp.beans.BeanSupport#getPropertyInfo method. Beware: all properties passed in the propNames argument must also be present in the beanClass represented by this node. If you don't have a suitable GPNode, please use the {setTableColumns(Class[], String[])} method.

Parameters:
bean the bean displayed in the table
propNames the properties to be displayed as columns in the table

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

void cern::gp::explorer::TableHolder::setTableColumns Object  bean,
String[]  propNames
throws IntrospectionException
 

Sets the columns of the Table. This method determines the type of the method by doing reflection on the Bean. It also takes into account the additional info specified in cern.gp.beans.BeanSupport#getPropertyInfo.

Beware: all properties passed in the propNames argument must also be present in the beanClass. If you already have created a GPNode for this bean, you should use setTableColumns(GPNode, String[]) because this is more efficient.
If you don't have such a bean, please use the {setTableColumns(Class[], String[])} method.

Parameters:
bean the bean displayed in the table
propNames the properties to be displayed as columns in the table
Exceptions:
IntrospectionException if something goes wrong while introspecting the bean

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

void cern::gp::explorer::TableHolder::setTableColumns Object  bean  )  throws IntrospectionException
 

Sets the columns of the Table. This method determines the type of the properties by doing reflection on the beanClass. It also takes into account info specified in the method cern.gp.beans.BeanSupport#getPropertyInfo All non-hidden properties of the bean will be displayed as columns in the Table

Parameters:
the class from which the table colums are inferred

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.

void cern::gp::explorer::TableHolder::setTableColumns Class[]  propTypes,
String[]  propNames
 

Sets the colums of the Table. The colums are identified by their name and their type. Please make sure that the two arrays passed as arguments correspond. Cautiondo not use this with beans that implement the cern.gp.beans.BeanSupport#getPropertyInfo method to customize settings for properties. For such beans use {{setTableColumns(Object, String[])} instead.

Parameters:
propNames the names of the properties to be displayed
propTypes the types of the properties corresponding to the names

Implemented in cern::gp::explorer::ListTableExplorer, and cern::gp::explorer::TableHolderImpl.


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