public class GuiDataSpec
extends uk.ac.starlink.ttools.plot2.data.AbstractDataSpec
Constructor | Description |
---|---|
GuiDataSpec(TopcatModel tcModel,
RowSubset subset,
GuiCoordContent[] contents) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
uk.ac.starlink.ttools.plot2.data.UserDataReader |
createUserDataReader() |
|
uk.ac.starlink.ttools.plot2.data.Coord |
getCoord(int ic) |
|
int |
getCoordCount() |
|
java.lang.String[] |
getCoordDataLabels(int ic) |
Returns the strings supplied by the user to identify the user values
corresponding to a particular coordinate.
|
java.lang.Object |
getCoordId(int ic) |
|
long |
getKnownRowCount() |
Returns the number of rows associated with this dataspec if it
can be determined quickly.
|
java.lang.Object |
getMaskId() |
|
long |
getRowCount() |
Returns the number of rows associated with this data spec.
|
RowSubset |
getRowSubset() |
Returns the row subset forming the row mask for this dataspec.
|
uk.ac.starlink.table.StarTable |
getSourceTable() |
|
TopcatModel |
getTopcatModel() |
Returns the topcat model supplying the data for this data spec.
|
static TopcatModel |
getTopcatModel(uk.ac.starlink.ttools.plot2.data.DataSpec dataSpec) |
Retrieves a TopcatModel from a data spec used within topcat.
|
uk.ac.starlink.table.ValueInfo[] |
getUserCoordInfos(int ic) |
|
boolean |
isCoordBlank(int icoord) |
public GuiDataSpec(TopcatModel tcModel, RowSubset subset, GuiCoordContent[] contents)
tcModel
- topcat model supplying datasubset
- row inclusion maskcontents
- coordinate value definitionspublic uk.ac.starlink.table.StarTable getSourceTable()
public int getCoordCount()
public uk.ac.starlink.ttools.plot2.data.Coord getCoord(int ic)
public java.lang.Object getCoordId(int ic)
public java.lang.Object getMaskId()
public uk.ac.starlink.table.ValueInfo[] getUserCoordInfos(int ic)
public uk.ac.starlink.ttools.plot2.data.UserDataReader createUserDataReader()
public boolean isCoordBlank(int icoord)
public TopcatModel getTopcatModel()
public RowSubset getRowSubset()
public java.lang.String[] getCoordDataLabels(int ic)
ic
- coord indexpublic long getKnownRowCount()
@Slow public long getRowCount()
public static TopcatModel getTopcatModel(uk.ac.starlink.ttools.plot2.data.DataSpec dataSpec)
dataSpec
- data specCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.