| Modifier and Type | Field and Description |
|---|---|
protected double |
axisLength |
protected double |
scale |
protected double |
tickUnit |
| Constructor and Description |
|---|
AxisRange() |
AxisRange(double lowerBound,
double upperBound,
double axisLength,
double scale,
double tickUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AxisRange range)
Add the specified data range to this range.
|
AxisRange |
copy() |
boolean |
equals(Object obj) |
double |
getAxisLength() |
double |
getLowerBound() |
double |
getScale() |
double |
getTickUnit() |
double |
getUpperBound() |
int |
hashCode() |
void |
setAxisLength(double length,
Side side)
Calculate a new scale for this axis.
|
AxisRange |
substract(AxisRange range)
Substracts the specified data range from this range.
|
String |
toString() |
protected double axisLength
protected double scale
protected double tickUnit
public AxisRange()
public AxisRange(double lowerBound,
double upperBound,
double axisLength,
double scale,
double tickUnit)
public void add(AxisRange range)
range - range to be addedpublic AxisRange copy()
public double getAxisLength()
public double getLowerBound()
public double getScale()
scalepublic double getTickUnit()
public double getUpperBound()
public void setAxisLength(double length,
Side side)
length - The display length of the axisside - axis sidepublic AxisRange substract(AxisRange range)
range - range to be subtractedCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.