public class TopcatModelSelectionTable extends Object
| Constructor and Description |
|---|
TopcatModelSelectionTable(String selectLabel,
boolean defaultSelected)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
getEventColumnIndices(int evtCode)
Returns zero or more column indices which may be affected by a
TopcatEvent of with a given code.
|
int |
getRowIndex(TopcatModel tcModel)
Determines the row index for a given table.
|
TopcatModel[] |
getSelectedTables()
Returns the TopcatModels currently selected in this component.
|
TopcatModel |
getTable(int irow)
Returns the table at a given row in the displayed JTable.
|
MetaColumnTableModel |
getTableModel()
Returns the table model used for containing information about each
TopcatModel.
|
void |
setAllSelected(boolean isSelect)
Performs wholesale selection or deselection of all tables in the list.
|
public TopcatModelSelectionTable(String selectLabel, boolean defaultSelected)
selectLabel - label for the selection columndefaultSelected - wether entries will be selected by defaultprotected int[] getEventColumnIndices(int evtCode)
evtCode - code from a TopcatEventpublic MetaColumnTableModel getTableModel()
public TopcatModel[] getSelectedTables()
public TopcatModel getTable(int irow)
irow - row indexpublic int getRowIndex(TopcatModel tcModel)
tcModel - table to locatepublic void setAllSelected(boolean isSelect)
isSelect - true to select, false to deselectCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.