
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) |
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.
| 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.
| 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 |
| 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
| 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.
| 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.
| bean | the bean displayed in the table | |
| propNames | the properties to be displayed as columns in the table |
| 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
| 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.
| 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.
Referenced by cern::gp::explorer::TreeTableExplorer::setTableColumns(), and cern::gp::explorer::ListTableExplorer::setTableColumns().
1.6.2