public class XYArrayCoordPanel extends BasicCoordPanel implements PositionCoordPanel
BasicCoordPanel.CoordStack
Constructor and Description |
---|
XYArrayCoordPanel()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
autoPopulate()
Makes some attempt to fill in the fields with non-blank values.
|
uk.ac.starlink.ttools.plot2.DataGeom |
getDataGeom()
Returns null.
|
boolean |
isPreferredCoord(uk.ac.starlink.ttools.plot2.data.Coord coord)
Indicates whether a coordinate is one that ought to get filled in
if possible.
|
addActionListener, addButtons, createDefaultStack, getActionForwarder, getAdditionalManagedCoords, getColumnSelector, getComponent, getConfig, getConfigSpecifier, getContents, getCoords, getInfos, getStack, getTable, multiplyCoords, populate, removeActionListener, setColumnSelector, setTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtraTabs
addActionListener, getAdditionalManagedCoords, getColumnSelector, getComponent, getConfig, getConfigSpecifier, getContents, getCoords, removeActionListener, setTable
public uk.ac.starlink.ttools.plot2.DataGeom getDataGeom()
getDataGeom
in interface PositionCoordPanel
public boolean isPreferredCoord(uk.ac.starlink.ttools.plot2.data.Coord coord)
BasicCoordPanel
Coord.isRequired()
,
but subclasses can override this if more nuanced behaviour is necessary.
In particular in order for autopopulation to work correctly, it may be necessary to return true for all members of a group of coordinates for which at least one has to be filled in for a viable plot.
isPreferredCoord
in class BasicCoordPanel
coord
- candidate coordinatepublic void autoPopulate()
BasicCoordPanel
autoPopulate
in class BasicCoordPanel
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.