public class VariableScaleAxis
extends <any>
Inspired by Kevin Senechal (kevinsdooapp <kevin.senechal@dooapp.com >)
| Modifier and Type | Class and Description |
|---|---|
static class |
VariableScaleAxis.AxisRange
The bean for passing range information.
|
| Constructor and Description |
|---|
VariableScaleAxis()
Creates a autoranging log axis.
|
VariableScaleAxis(double lowerBound,
double upperBound,
double tickUnit)
Creates a fixed range log axis.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
autoRange(double minValue,
double maxValue,
double length,
double labelSize) |
protected List<Number> |
calculateMinorTickMarks() |
protected List<Number> |
calculateTickValues(double length,
Object range) |
double |
getDisplayPosition(Number value) |
boolean |
getLogScale() |
protected VariableScaleAxis.AxisRange |
getRange() |
protected String |
getTickMarkLabel(Number value) |
double |
getTickUnit() |
void |
invalidateRange(List<Number> data) |
BooleanProperty |
logScaleProperty() |
void |
setLogScale(boolean value) |
protected void |
setRange(Object range,
boolean animate) |
void |
setTickUnit(double value) |
DoubleProperty |
tickUnitProperty() |
public VariableScaleAxis()
public VariableScaleAxis(double lowerBound,
double upperBound,
double tickUnit)
lowerBound - The axis lower boundupperBound - The axis upper boundtickUnit - The tick unitpublic final boolean getLogScale()
public final void setLogScale(boolean value)
public final BooleanProperty logScaleProperty()
public final double getTickUnit()
public final void setTickUnit(double value)
public final DoubleProperty tickUnitProperty()
protected List<Number> calculateTickValues(double length, Object range)
Adapted from calculateTickValues(double, java.lang.Object).
protected List<Number> calculateMinorTickMarks()
Adapted from NumberAxis.
protected VariableScaleAxis.AxisRange getRange()
protected void setRange(Object range, boolean animate)
Adapted from NumberAxis.
public double getDisplayPosition(Number value)
Adapted from NumberAxis.
protected Object autoRange(double minValue, double maxValue, double length, double labelSize)
Adapted from NumberAxis.
public void invalidateRange(List<Number> data)
Adapted from NumberAxis.
Copyright © 2015–2022 FLIMLib. All rights reserved.