Class AreaCoordPanel


  • public abstract class AreaCoordPanel
    extends PositionCoordPanel
    PositionCoordPanel for entering positional Area values. This implementation class mostly handles autopopulation (default values).
    Since:
    27 Mar 2020
    Author:
    Mark Taylor
    • Constructor Detail

      • AreaCoordPanel

        protected AreaCoordPanel​(uk.ac.starlink.ttools.plot2.data.AreaCoord<?> coord,
                                 uk.ac.starlink.ttools.plot2.data.Coord[] otherCoords,
                                 uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] configKeys)
        Constructor.
        Parameters:
        coord - coordinate for Area objects
        otherCoords - additional coordinates required by panel
        configKeys - config value keys (often empty)
    • Method Detail

      • 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