Class SingleCoord

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SingleCoord​(InputMeta meta, boolean isRequired, java.lang.Class valueClass, StorageType storageType, java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> domain)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Input getInput()
      Returns the single user data input object.
      Input[] getInputs()
      Returns specifications of the one or more input values the user supplies to provide the data values for this coord.
      StorageType getStorageType()
      Returns a code indicating how the quantity defined by this object is stored internally and presented to the plotting classes.
      boolean isRequired()
      Indicates whether this item must have a non-blank value in order for a plot to be possible.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleCoord

        protected SingleCoord​(InputMeta meta,
                              boolean isRequired,
                              java.lang.Class valueClass,
                              StorageType storageType,
                              java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> domain)
        Constructor.
        Parameters:
        meta - descriptive metadata for single user coordinate
        isRequired - true if this coordinate is required for plotting
        valueClass - class of input coordinate quantity
        storageType - storage type object
        domain - DomainMapper subtype for this coord, or null
    • Method Detail

      • getInputs

        public Input[] getInputs()
        Description copied from interface: Coord
        Returns specifications of the one or more input values the user supplies to provide the data values for this coord.
        Specified by:
        getInputs in interface Coord
        Returns:
        one or more items describing the user input values for this quantity
      • getInput

        public Input getInput()
        Returns the single user data input object.
        Returns:
        modifiable info object
      • getStorageType

        public StorageType getStorageType()
        Description copied from interface: Coord
        Returns a code indicating how the quantity defined by this object is stored internally and presented to the plotting classes.
        Specified by:
        getStorageType in interface Coord
        Returns:
        storage type enum instance
      • isRequired

        public boolean isRequired()
        Description copied from interface: Coord
        Indicates whether this item must have a non-blank value in order for a plot to be possible.
        Specified by:
        isRequired in interface Coord
        Returns:
        if true, values must be supplied to make a plot