public class LinearScale extends Scale
Type | Property and Description |
---|---|
javafx.beans.property.BooleanProperty |
largeNumberScale |
javafx.beans.property.DoubleProperty |
majorTickSpacing |
javafx.beans.property.IntegerProperty |
maxNoOfMajorTicks |
javafx.beans.property.IntegerProperty |
maxNoOfMinorTicks |
javafx.beans.property.DoubleProperty |
minorTickSpacing |
javafx.beans.property.ReadOnlyDoubleProperty |
niceMaxValue |
javafx.beans.property.ReadOnlyDoubleProperty |
niceMinValue |
javafx.beans.property.ReadOnlyDoubleProperty |
niceRange |
javafx.beans.property.BooleanProperty |
niceScaling |
javafx.beans.property.BooleanProperty |
tightScale |
lastLabelVisibleProperty, maxValueProperty, minValueProperty, rangeProperty, uncorrectedMaxValueProperty, uncorrectedMinValueProperty
Constructor and Description |
---|
LinearScale() |
LinearScale(double MIN_VALUE,
double MAX_VALUE) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateLoose()
Calculate and update values for major and minor tick spacing and niceScaling
minimum and maximum values on the axis.
|
protected void |
calculateTight() |
double |
getMajorTickSpacing()
Gets the value of the property majorTickSpacing.
|
int |
getMaxNoOfMajorTicks()
Gets the value of the property maxNoOfMajorTicks.
|
int |
getMaxNoOfMinorTicks()
Gets the value of the property maxNoOfMinorTicks.
|
double |
getMinorTickSpacing()
Gets the value of the property minorTickSpacing.
|
double |
getNiceMaxValue()
Gets the value of the property niceMaxValue.
|
double |
getNiceMinValue()
Gets the value of the property niceMinValue.
|
double |
getNiceRange()
Gets the value of the property niceRange.
|
double |
getTightScaleOffset() |
boolean |
isLargeNumberScale()
Gets the value of the property largeNumberScale.
|
boolean |
isNiceScaling()
Gets the value of the property niceScaling.
|
boolean |
isTightScale()
Gets the value of the property tightScale.
|
javafx.beans.property.BooleanProperty |
largeNumberScaleProperty() |
javafx.beans.property.DoubleProperty |
majorTickSpacingProperty() |
javafx.beans.property.IntegerProperty |
maxNoOfMajorTicksProperty() |
javafx.beans.property.IntegerProperty |
maxNoOfMinorTicksProperty() |
javafx.beans.property.DoubleProperty |
minorTickSpacingProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
niceMaxValueProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
niceMinValueProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
niceRangeProperty() |
javafx.beans.property.BooleanProperty |
niceScalingProperty() |
void |
setLargeNumberScale(boolean LARGE_NUMBER_SCALE)
Sets the value of the property largeNumberScale.
|
void |
setMajorTickSpacing(double MAJOR_TICKSPACING)
Sets the value of the property majorTickSpacing.
|
void |
setMaxNoOfMajorTicks(int MAX_NO_OF_MAJOR_TICKS)
Sets the value of the property maxNoOfMajorTicks.
|
void |
setMaxNoOfMinorTicks(int MAX_NO_OF_MINOR_TICKS)
Sets the value of the property maxNoOfMinorTicks.
|
void |
setMinorTickSpacing(double MINOR_TICK_SPACING)
Sets the value of the property minorTickSpacing.
|
void |
setNiceScaling(boolean NICE_SCALING)
Sets the value of the property niceScaling.
|
void |
setTightScale(boolean TIGHT_SCALE)
Sets the value of the property tightScale.
|
javafx.beans.property.BooleanProperty |
tightScaleProperty() |
getMaxValue, getMinValue, getRange, getUncorrectedMaxValue, getUncorrectedMinValue, isLastLabelVisible, lastLabelVisibleProperty, maxValueProperty, minValueProperty, rangeProperty, setLastLabelVisible, setMaxValue, setMinValue, setUncorrectedMaxValue, setUncorrectedMinValue, uncorrectedMaxValueProperty, uncorrectedMinValueProperty
public LinearScale()
public LinearScale(double MIN_VALUE, double MAX_VALUE)
public final boolean isTightScale()
public final void setTightScale(boolean TIGHT_SCALE)
public final javafx.beans.property.BooleanProperty tightScaleProperty()
public final boolean isNiceScaling()
public final void setNiceScaling(boolean NICE_SCALING)
public final javafx.beans.property.BooleanProperty niceScalingProperty()
public final double getNiceMinValue()
public final javafx.beans.property.ReadOnlyDoubleProperty niceMinValueProperty()
public final double getNiceMaxValue()
public final javafx.beans.property.ReadOnlyDoubleProperty niceMaxValueProperty()
public final int getMaxNoOfMajorTicks()
public final void setMaxNoOfMajorTicks(int MAX_NO_OF_MAJOR_TICKS)
public final javafx.beans.property.IntegerProperty maxNoOfMajorTicksProperty()
public final int getMaxNoOfMinorTicks()
public final void setMaxNoOfMinorTicks(int MAX_NO_OF_MINOR_TICKS)
public final javafx.beans.property.IntegerProperty maxNoOfMinorTicksProperty()
public final double getNiceRange()
public final javafx.beans.property.ReadOnlyDoubleProperty niceRangeProperty()
public final boolean isLargeNumberScale()
public final void setLargeNumberScale(boolean LARGE_NUMBER_SCALE)
public final javafx.beans.property.BooleanProperty largeNumberScaleProperty()
public final double getMajorTickSpacing()
public final void setMajorTickSpacing(double MAJOR_TICKSPACING)
public final javafx.beans.property.DoubleProperty majorTickSpacingProperty()
public final double getMinorTickSpacing()
public final void setMinorTickSpacing(double MINOR_TICK_SPACING)
public final javafx.beans.property.DoubleProperty minorTickSpacingProperty()
public final double getTightScaleOffset()
protected void calculateLoose()
protected void calculateTight()