Public Member Functions | |
ListTableExplorer () | |
ListTableExplorer (GPNode[] nodes) | |
ListTableExplorer (Class viewableBeanClass) | |
ListTableExplorer (Class[] viewableBeanClasses) | |
TreeTableViewTableAccess | getTreeTableAccess () |
final void | setListNodes (final GPNode[] nodes) |
void | setRootNode (GPNode node) |
void | setPreferredSize (java.awt.Dimension dim) |
void | setTreePreferredWidth (int width) |
void | setTableColumnPreferredWidth (int index, int width) |
void | setTableColumns (String[] propNames) throws IntrospectionException |
String[] | getTableColumnNames () |
void | setTableColumns (GPNode node, String[] propNames) |
void | setTableColumns (Object bean) throws IntrospectionException |
void | setTableColumns (Object bean, String[] propNames) throws IntrospectionException |
void | setTableColumns (Class[] propTypes, String[] propNames) |
void | setTableColumns (Class[] propTypes, String[] propNames, boolean[] sortable) |
void | setTableColumns (GPNode node, String[] propNames, boolean[] sortable) |
void | setTableColumns (Object bean, String[] propNames, boolean[] sortable) throws IntrospectionException |
void | setTableColumns (Class beanClass) throws IntrospectionException |
void | setTableColumns (Class beanClass, String[] propNames) throws IntrospectionException |
void | setProperties (Node.Property[] props, boolean[] sortable) |
Protected Member Functions | |
ListTableExplorer (TreeTableViewTableAccess view) | |
Private Member Functions | |
boolean | areAllNodesLeaves (GPNode[] nodes) |
Private Attributes | |
final TableHolder | tableHolder |
GPNode | beanNode |
String[] | tableColumnNames |
final TreeTableViewTableAccess | treeTableViewTableAccess |
Static Private Attributes | |
final String | ATTR_COMPARABLE_COLUMN = "ComparableColumnTTV" |
final String | ATTR_SORTING_COLUMN = "SortingColumnTTV" |
final String | ATTR_DESCENDING_ORDER = "DescendingOrderTTV" |
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 to create the Node hierarchy to be explored.
|
create a ListTableExplorer with the default view and model. |
|
create a ListTableExplorer and set the nodes to display
|
|
|
|
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.
|
|
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.
|
|
helper method, finds out if all nodes are Leaves or if any of the nodes has children
|
|
Accessor method, the counterpart to setTableColumns(String[])
|
|
Getter Method
|
|
set the nodes to be displayed in the table.
Implements cern::gp::explorer::GPListExplorerPanel.
|
|
set the preferred size of the TableExplorer |
|
Implements cern::gp::explorer::TablePropertyHolder.
|
|
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
Reimplemented from cern::gp::explorer::GPListExplorerPanel.
|
|
set the preferred width of the specified column |
|
Implements cern::gp::explorer::TableHolder.
|
|
Implements cern::gp::explorer::TableHolder.
|
|
Implements cern::gp::explorer::TableHolder.
|
|
Implements cern::gp::explorer::TableHolder.
|
|
Implements cern::gp::explorer::TableHolder.
|
|
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.
Implements cern::gp::explorer::TableHolder.
|
|
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.
Implements cern::gp::explorer::TableHolder.
|
|
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
Implements cern::gp::explorer::TableHolder.
|
|
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.
Implements cern::gp::explorer::TableHolder.
|
|
set the columns to be displayed. Note that before this method is called you must have called setListNodes(GPNode[]) |
|
set the preferred width of the whole TableExplorer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|