public class ScalesResult extends BasicResult
Modifier and Type | Field and Description |
---|---|
private LinearScale[] |
scales
The scales in use.
|
Constructor and Description |
---|
ScalesResult(LinearScale[] scales)
Constructor.
|
ScalesResult(Relation<? extends NumberVector<?>> relation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
LinearScale |
getScale(int dim)
Get the scale for dimension dim (starting at 1!).
|
LinearScale[] |
getScales()
Get all scales.
|
void |
setScale(int dim,
LinearScale scale)
Set the scale for dimension dim (starting at 1!).
|
getLongName, getShortName
addChildResult, getHierarchy, setHierarchy
private LinearScale[] scales
public ScalesResult(Relation<? extends NumberVector<?>> relation)
relation
- Relation to usepublic ScalesResult(LinearScale[] scales)
scales
- Relation scales to usepublic LinearScale getScale(int dim)
dim
- Dimensionpublic void setScale(int dim, LinearScale scale)
dim
- Dimensionscale
- New scalepublic LinearScale[] getScales()