Coord
BooleanCoord
, FloatingArrayCoord
, FloatingCoord
, IntegerCoord
, StringCoord
public 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.
|
inputToStorage
protected 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()
Coord
public Input getInput()
public StorageType getStorageType()
Coord
getStorageType
in interface Coord
public boolean isRequired()
Coord
isRequired
in interface Coord
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.