|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.data.SingleCoord
public abstract class SingleCoord
Partial Coord implementation for quantities that are represented as scalars both to the user and internally.
Constructor Summary | |
---|---|
protected |
SingleCoord(InputMeta meta,
boolean isRequired,
Class valueClass,
StorageType storageType,
Class<? extends DomainMapper> domain)
Constructor. |
Method Summary | |
---|---|
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 |
Methods inherited from interface uk.ac.starlink.ttools.plot2.data.Coord |
---|
inputToStorage |
Constructor Detail |
---|
protected SingleCoord(InputMeta meta, boolean isRequired, Class valueClass, StorageType storageType, Class<? extends 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 nullMethod Detail |
---|
public Input[] getInputs()
Coord
getInputs
in interface Coord
public Input getInput()
public StorageType getStorageType()
Coord
getStorageType
in interface Coord
public boolean isRequired()
Coord
isRequired
in interface Coord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |