Package uk.ac.starlink.topcat.plot
Interface PointStore
-
- All Superinterfaces:
Points
- All Known Implementing Classes:
CartesianPointStore
,SphericalPolarPointStore
public interface PointStore extends Points
Extends thePoints
interface to provide a facility for storing points as well as retrieving them. To populate this object with point values, thestorePoint(java.lang.Object[], java.lang.Object[], java.lang.String)
method must be called once for each point in sequence. Points cannot in general be re-written. Implementation classes may have rules about what sequence methods must be called in, for instance whether all the writes must be performed before any of the read methods can be used.- Since:
- 29 Mar 2007
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
storePoint(java.lang.Object[] coordRow, java.lang.Object[] errorRow, java.lang.String label)
Stores the next point in sequence to this object.
-
-
-
Method Detail
-
storePoint
void storePoint(java.lang.Object[] coordRow, java.lang.Object[] errorRow, java.lang.String label)
Stores the next point in sequence to this object. The lengths of the arrays supplied here are not necessarily the same as those returned by thePoints.getNdim()
andPoints.getNerror()
methods, since there may be some translation between the arrays.The
PointSelection
submits rows here as retrieved directly from the AxesSelectorAxesSelector.getData()
andAxesSelector.getErrorData()
tables.- Parameters:
coordRow
- array of objects representing coordinate valueserrorRow
- array of objects representing error valueslabel
- string labelling the point
-
-