

Classes | |
| class | SelectiveTableModel |
| class | TableViewColumnProperty |
Public Member Functions | |
| void | setTableColumns (Class beanClass) throws IntrospectionException |
| void | setTableColumns (Class beanClass, String[] propNames) throws IntrospectionException |
| void | setTableColumns (Class[] propTypes, String[] propNames) |
| void | setTableColumns (Class[] propTypes, String[] propNames, boolean[] sortable) |
| void | setTableColumns (Object bean) throws IntrospectionException |
| void | setTableColumns (Object bean, String[] propNames) throws IntrospectionException |
| void | setTableColumns (Object bean, String[] propNames, boolean[] sortable) throws IntrospectionException |
| void | setTableColumns (GPNode node, String[] propNames) |
| void | setTableColumns (GPNode node, String[] propNames, boolean[] sortable) |
Static Public Member Functions | |
| static Node.Property[] | calcNodeProperty (PropertyDescriptor[] propDescriptors) |
| static PropertyDescriptor[] | calcPropertyDescriptorsFor (Class beanClass, String[] propNames) throws IntrospectionException |
Package Functions | |
| TableHolderImpl (TablePropertyHolder tablePropertyHolder) | |
Private Member Functions | |
| void | setTableColumns (PropertyDescriptor[] propDescriptors) |
Private Attributes | |
| TablePropertyHolder | tablePropertyHolder |
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.
| cern::gp::explorer::TableHolderImpl::TableHolderImpl | ( | TablePropertyHolder | tablePropertyHolder | ) | [inline, package] |
| static Node.Property [] cern::gp::explorer::TableHolderImpl::calcNodeProperty | ( | PropertyDescriptor[] | propDescriptors | ) | [inline, static] |
Referenced by setTableColumns().
| static PropertyDescriptor [] cern::gp::explorer::TableHolderImpl::calcPropertyDescriptorsFor | ( | Class | beanClass, | |
| String[] | propNames | |||
| ) | throws IntrospectionException [inline, static] |
a helper method that determines the types of the properties by looking them up in the beanClass
Referenced by setTableColumns().
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | PropertyDescriptor[] | propDescriptors | ) | [inline, private] |
helper method -- sets the table columns form an array of property descriptors can be made public if needed
References calcNodeProperty(), cern::gp::explorer::TablePropertyHolder::setProperties(), and tablePropertyHolder.
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | GPNode | node, | |
| String[] | propNames, | |||
| boolean[] | sortable | |||
| ) | [inline, virtual] |
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | GPNode | node, | |
| String[] | propNames | |||
| ) | [inline] |
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 |
Implements cern::gp::explorer::TableHolder.
References setTableColumns().
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Object | bean, | |
| String[] | propNames, | |||
| boolean[] | sortable | |||
| ) | throws IntrospectionException [inline, virtual] |
Implements cern::gp::explorer::TableHolder.
References setTableColumns().
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Object | bean, | |
| String[] | propNames | |||
| ) | throws IntrospectionException [inline] |
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 |
Implements cern::gp::explorer::TableHolder.
References setTableColumns().
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Object | bean | ) | throws IntrospectionException [inline] |
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 |
Implements cern::gp::explorer::TableHolder.
References setTableColumns().
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Class[] | propTypes, | |
| String[] | propNames, | |||
| boolean[] | sortable | |||
| ) | [inline, virtual] |
Implements cern::gp::explorer::TableHolder.
References cern::gp::explorer::TablePropertyHolder::setProperties(), and tablePropertyHolder.
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Class[] | propTypes, | |
| String[] | propNames | |||
| ) | [inline] |
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 |
Implements cern::gp::explorer::TableHolder.
References setTableColumns().
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Class | beanClass, | |
| String[] | propNames | |||
| ) | throws IntrospectionException [inline] |
| void cern::gp::explorer::TableHolderImpl::setTableColumns | ( | Class | beanClass | ) | throws IntrospectionException [inline] |
Implements cern::gp::explorer::TableHolder.
References calcPropertyDescriptorsFor().
Referenced by setTableColumns().
Referenced by setTableColumns().
1.6.2