Class SingleCoord
java.lang.Object
uk.ac.starlink.ttools.plot2.data.SingleCoord
- All Implemented Interfaces:
Coord
- Direct Known Subclasses:
BooleanCoord, FixedLengthVectorCoord, FloatingArrayCoord, FloatingCoord, IntegerCoord, LongCoord, StringCoord
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSingleCoord(InputMeta meta, boolean isRequired, uk.ac.starlink.table.Domain<?> domain, StorageType storageType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetInput()Returns the single user data input object.Input[]Returns specifications of the one or more input values the user supplies to provide the data values for this coord.Returns a code indicating how the quantity defined by this object is stored internally and presented to the plotting classes.booleanIndicates whether this item must have a non-blank value in order for a plot to be possible.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Coord
inputStorage
-
Constructor Details
-
SingleCoord
protected SingleCoord(InputMeta meta, boolean isRequired, uk.ac.starlink.table.Domain<?> domain, StorageType storageType) Constructor.- Parameters:
meta- descriptive metadata for single user coordinateisRequired- true if this coordinate is required for plottingdomain- input coordinate domainstorageType- storage type object
-
-
Method Details
-
getInputs
Description copied from interface:CoordReturns specifications of the one or more input values the user supplies to provide the data values for this coord. -
getInput
-
getStorageType
Description copied from interface:CoordReturns a code indicating how the quantity defined by this object is stored internally and presented to the plotting classes.- Specified by:
getStorageTypein interfaceCoord- Returns:
- storage type enum instance
-
isRequired
public boolean isRequired()Description copied from interface:CoordIndicates whether this item must have a non-blank value in order for a plot to be possible.- Specified by:
isRequiredin interfaceCoord- Returns:
- if true, values must be supplied to make a plot
-
toString
-