Class XYArrayCoordPanel


  • public class XYArrayCoordPanel
    extends PositionCoordPanel
    CoordPanel for 2-d vector-valued coordinates.
    Since:
    26 Jan 2021
    Author:
    Mark Taylor
    • Constructor Detail

      • XYArrayCoordPanel

        public XYArrayCoordPanel​(uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord[] coords)
        Constructor.
        Parameters:
        coords - 2-element array giving X and Y array coordinates
    • Method Detail

      • getDataGeom

        public uk.ac.starlink.ttools.plot2.DataGeom getDataGeom()
        Returns null.
        Specified by:
        getDataGeom in class PositionCoordPanel
        Returns:
        data geom
      • autoPopulate

        public void autoPopulate()
        Description copied from class: CoordPanel
        Makes some attempt to fill in the fields with non-blank values. The default implementation fills in the first few suitable columns, but subclasses are encouraged to override this behaviour if something smarter is possible.
        Overrides:
        autoPopulate in class CoordPanel