public class TopcatModelSelectionTable
extends java.lang.Object
| Constructor and Description |
|---|
TopcatModelSelectionTable(java.lang.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.
|
public TopcatModelSelectionTable(java.lang.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 locateCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.