public class GuiDataSpec
extends uk.ac.starlink.ttools.plot2.data.AbstractDataSpec
Constructor and Description |
---|
GuiDataSpec(TopcatModel tcModel,
RowSubset subset,
GuiCoordContent[] contents)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
uk.ac.starlink.ttools.plot2.data.UserDataReader |
createUserDataReader() |
uk.ac.starlink.ttools.plot2.data.Coord |
getCoord(int ic) |
int |
getCoordCount() |
String[] |
getCoordDataLabels(int ic)
Returns the strings supplied by the user to identify the user values
corresponding to a particular coordinate.
|
String |
getCoordId(int ic) |
GuiCoordContent |
getGuiCoordContent(int ic)
Returns the GuiCoordContent corresponding to a particular coordinate.
|
long |
getKnownRowCount()
Returns the number of rows associated with this dataspec if it
can be determined quickly.
|
String |
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) |
uk.ac.starlink.table.DomainMapper[] |
getUserCoordMappers(int ic) |
boolean |
isCoordBlank(int icoord) |
boolean |
isMaskTrue() |
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 String getCoordId(int ic)
public String getMaskId()
public uk.ac.starlink.table.ValueInfo[] getUserCoordInfos(int ic)
public uk.ac.starlink.table.DomainMapper[] getUserCoordMappers(int ic)
public uk.ac.starlink.ttools.plot2.data.UserDataReader createUserDataReader()
public boolean isMaskTrue()
public boolean isCoordBlank(int icoord)
public TopcatModel getTopcatModel()
public RowSubset getRowSubset()
public GuiCoordContent getGuiCoordContent(int ic)
ic
- coord indexpublic 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-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.