CoordBooleanCoord, FloatingArrayCoord, FloatingCoord, IntegerCoord, StringCoordpublic abstract class SingleCoord extends java.lang.Object implements Coord
| 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.
|
| 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.
|
inputToStorageprotected SingleCoord(InputMeta meta, boolean isRequired, java.lang.Class valueClass, StorageType storageType, java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> domain)
meta - descriptive metadata for single user coordinateisRequired - true if this coordinate is required for plottingvalueClass - class of input coordinate quantitystorageType - storage type objectdomain - DomainMapper subtype for this coord, or nullpublic Input[] getInputs()
Coordpublic Input getInput()
public StorageType getStorageType()
CoordgetStorageType in interface Coordpublic boolean isRequired()
CoordisRequired in interface CoordCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.