Package qa.swing
Class ClusterSelectPanel
java.lang.Object
qa.swing.ClusterSelectPanel
Make a panel which allows you to select a load of clusters. 
 May need to have multiple selection types ?
- Author:
 - dg50
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelectionListener(ClusterSelectionListener clusterSelectionListener) Add a selection listener which will receive notifications if any of the check boxes are changed.voidenableSelection(QACluster qaCluster, int iColumn, boolean enable) Enable a Checkbox in the selectionString[]intbooleangetSelection(QACluster qaCluster, int iColumn) Get whether a particular cluster is selected or not.booleanremoveSelectionListener(ClusterSelectionListener clusterSelectionListener) Remove a selection listener which received notifications if any of the check boxes are changed.voidsetClusterList(ArrayList<QACluster> clusterList) voidsetSelection(QACluster qaCluster, int iColumn, boolean select) Set whether a particular cluster is selected or not. 
- 
Field Details
- 
columStartOffset
protected final int columStartOffset- See Also:
 
 - 
clusterRowOffset
protected final int clusterRowOffset- See Also:
 
 
 - 
 - 
Constructor Details
- 
ClusterSelectPanel
 
 - 
 - 
Method Details
- 
getComponent
 - 
setSelection
Set whether a particular cluster is selected or not.- Parameters:
 qaCluster- cluster referenceiColumn- column in tableselect- select or not
 - 
getSelection
Get whether a particular cluster is selected or not.- Parameters:
 qaCluster- cluster referenceiColumn- column in table- Returns:
 - whether or not selected
 
 - 
enableSelection
Enable a Checkbox in the selection- Parameters:
 qaCluster- cluster referenceiColumn- column in tableenable- enable the checkbox
 - 
setClusterList
 - 
addSelectionListener
Add a selection listener which will receive notifications if any of the check boxes are changed.- Parameters:
 clusterSelectionListener- selection listener
 - 
removeSelectionListener
Remove a selection listener which received notifications if any of the check boxes are changed.- Parameters:
 clusterSelectionListener-- Returns:
 - true if it existed
 
 - 
getClusterPanel
- Returns:
 - the clusterPanel
 
 - 
getColNames
- Returns:
 - the colNames
 
 - 
getQaControl
- Returns:
 - the qaControl
 
 - 
getnColumns
public int getnColumns()- Returns:
 - the nColumns
 
 - 
getCurrentClusterList
- Returns:
 - the currentClusterList
 
 
 -