public abstract class AbstractAxisParameter extends Pane implements Axis
intention is to move the boiler-plate code here for better readability of the AbstractNumericAxis class
| Type | Property and Description |
|---|---|
BooleanProperty |
animated
When true any changes to the axis and its range will be animated.
|
IntegerProperty |
animationDuration
The animation duration in MS
|
BooleanProperty |
autoGrowRanging
This is true when the axis determines its range from the data automatically
|
DoubleProperty |
autoRangePadding
Fraction of the range to be applied as padding on both sides of the axis range.
|
BooleanProperty |
autoRangeRounding
With
autoRangingProperty() on, defines if the range should be extended to the major tick unit value. |
BooleanProperty |
autoRanging
This is true when the axis determines its range from the data automatically
|
BooleanProperty |
autoUnitScaling
The axis unit label
|
DoubleProperty |
axisLabelGap
The gap between tick labels and the axis label
|
ObjectProperty<TextAlignment> |
axisLabelTextAlignment
axis label alignment
|
DoubleProperty |
axisPadding
The length of tick mark lines
|
DoubleProperty |
centerAxisPosition
The relative alignment (N.B.
|
BooleanProperty |
invertAxis
This is
true when the axis labels and data point order should be inverted |
DoubleProperty |
max |
IntegerProperty |
minorTickCount
The number of minor tick divisions to be displayed between each major tick mark.
|
DoubleProperty |
minorTickLength
The length of minor tick mark lines.
|
BooleanProperty |
minorTickVisible
true if minor tick marks should be displayed
|
DoubleProperty |
min |
StringProperty |
name |
ObjectProperty<AxisLabelOverlapPolicy> |
overlapPolicy
The side of the plot which this axis is being drawn on
|
ReadOnlyDoubleProperty |
scale
The scale factor from data units to visual units
|
ObjectProperty<Side> |
side
The side of the plot which this axis is being drawn on default axis orientation is BOTTOM, can be set latter to
another side
|
ObjectProperty<Paint> |
tickLabelFill
The fill for all tick labels
|
ObjectProperty<Font> |
tickLabelFont
The font for all tick labels
|
ObjectProperty<StringConverter<Number>> |
tickLabelFormatter
StringConverter used to format tick mark labels.
|
DoubleProperty |
tickLabelGap
The gap between tick labels and the tick mark lines
|
DoubleProperty |
tickLabelRotation
Rotation in degrees of tick mark labels from their normal horizontal.
|
BooleanProperty |
tickLabelsVisible
true if tick mark labels should be displayed
|
DoubleProperty |
tickLength
The length of tick mark lines
|
BooleanProperty |
tickMarkVisible
true if tick marks should be displayed
|
DoubleProperty |
tickUnit
The value between each major tick mark in data units.
|
BooleanProperty |
timeAxis
This is
true when the axis labels and data point should be plotted according to some time-axis definition |
ObjectProperty<String> |
unit |
DoubleProperty |
unitScaling
The axis unit label
|
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthPropertyimpl_traversalEngineProperty, needsLayoutPropertyaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visibleProperty| Modifier and Type | Field and Description |
|---|---|
protected AxisRange |
autoRange
if available (last) auto-range that has been computed
|
protected AxisLabel |
axisLabel |
protected static int |
DEFAULT_MINOR_TICK_COUNT |
protected boolean |
isInvertedAxis |
protected boolean |
isTimeAxis |
protected ObservableList<TickMark> |
majorTickMarks |
protected Path |
majorTickStyle
Paths used for css-type styling.
|
protected DoubleProperty |
maxProp
The value for the upper bound of this axis, ie max value.
|
protected boolean |
measureInvalid |
protected ObservableList<TickMark> |
minorTickMarks |
protected Path |
minorTickStyle |
protected DoubleProperty |
minProp
The value for the lower bound of this axis, ie min value.
|
protected double |
oldAxisLength
This is the minimum/maximum current data value and it is used while auto ranging.
|
protected boolean |
rangeValid |
protected DoubleProperty |
scaleBinding
Used to update scale property in AbstractAxisParameter (that is read-only) TODO: remove is possible
|
protected DoubleProperty |
tickLabelRotation
Rotation in degrees of tick mark labels from their normal horizontal.
|
protected boolean |
tickLabelsVisibleInvalid |
protected SimpleStyleableDoubleProperty |
tickUnit |
protected AxisRange |
userRange
user-specified range (ie.
|
USE_COMPUTED_SIZE, USE_PREF_SIZEBASELINE_OFFSET_SAME_AS_HEIGHT| Constructor and Description |
|---|
AbstractAxisParameter()
Create a auto-ranging AbstractAxisParameter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(double value) |
boolean |
add(double[] values,
int nlength) |
BooleanProperty |
animatedProperty()
When true any changes to the axis and its range will be animated.
|
IntegerProperty |
animationDurationProperty()
The animation duration in MS
|
BooleanProperty |
autoGrowRangingProperty()
This is true when the axis determines its range from the data automatically
|
AtomicBoolean |
autoNotification() |
DoubleProperty |
autoRangePaddingProperty()
Fraction of the range to be applied as padding on both sides of the axis range.
|
BooleanProperty |
autoRangeRoundingProperty()
With
autoRangingProperty() on, defines if the range should be extended to the major tick unit value. |
BooleanProperty |
autoRangingProperty()
This is true when the axis determines its range from the data automatically
|
BooleanProperty |
autoUnitScalingProperty()
The axis unit label
|
DoubleProperty |
axisLabelGapProperty()
The gap between tick labels and the axis label
|
ObjectProperty<TextAlignment> |
axisLabelTextAlignmentProperty()
axis label alignment
|
DoubleProperty |
axisPaddingProperty()
The length of tick mark lines
|
DoubleProperty |
centerAxisPositionProperty()
The relative alignment (N.B.
|
boolean |
clear() |
boolean |
contains(double value) |
protected double |
decadeRange() |
abstract void |
fireInvalidated() |
TextAlignment |
getaAxisLabelTextAlignment() |
int |
getAnimationDuration()
Gets the value of the property animationDuration.
|
AxisRange |
getAutoRange()
if available (last) auto-range that has been computed
|
double |
getAutoRangePadding()
Returns the value of the
autoRangePaddingProperty(). |
Text |
getAxisLabel() |
double |
getAxisLabelGap()
Gets the value of the property axisLabelGap.
|
double |
getAxisPadding()
Gets the value of the property axisPadding.
|
double |
getCenterAxisPosition()
Gets the value of the property centerAxisPosition.
|
static List<CssMetaData<? extends Styleable,?>> |
getClassCssMetaData() |
List<CssMetaData<? extends Styleable,?>> |
getCssMetaData() |
double |
getLength() |
Path |
getMajorTickStyle() |
double |
getMax()
Gets the value of the property max.
|
double |
getMin()
Gets the value of the property min.
|
int |
getMinorTickCount()
Gets the value of the property minorTickCount.
|
double |
getMinorTickLength()
Gets the value of the property minorTickLength.
|
ObservableList<TickMark> |
getMinorTickMarks() |
Path |
getMinorTickStyle() |
String |
getName()
Gets the value of the property name.
|
AxisLabelOverlapPolicy |
getOverlapPolicy()
Gets the value of the property overlapPolicy.
|
AxisRange |
getRange()
on auto-ranging this returns getAutoRange(), otherwise the user-specified range getUserRange() (ie.
|
double |
getScale()
Gets the value of the property scale.
|
Side |
getSide()
Gets the value of the property side.
|
Paint |
getTickLabelFill()
Gets the value of the property tickLabelFill.
|
Font |
getTickLabelFont()
Gets the value of the property tickLabelFont.
|
StringConverter<Number> |
getTickLabelFormatter()
Gets the value of the property tickLabelFormatter.
|
double |
getTickLabelGap()
Gets the value of the property tickLabelGap.
|
double |
getTickLabelRotation()
Gets the value of the property tickLabelRotation.
|
double |
getTickLength()
Gets the value of the property tickLength.
|
ObservableList<TickMark> |
getTickMarks() |
double |
getTickUnit()
Returns tick unit value expressed in data units.
|
String |
getUnit()
Gets the value of the property unit.
|
double |
getUnitScaling()
Gets the value of the property unitScaling.
|
AxisRange |
getUserRange()
user-specified range (ie.
|
protected void |
invalidateRange()
Mark the current range invalid, this will cause anything that depends on the range to be recalculated on the next
layout.
|
void |
invertAxis(boolean value)
This is
true when the axis labels and data point order should be inverted |
BooleanProperty |
invertAxisProperty()
This is
true when the axis labels and data point order should be inverted |
void |
invokeListener(UpdateEvent updateEvent,
boolean executeParallel)
invoke object within update listener list
|
boolean |
isAnimated()
Indicates whether the changes to axis range will be animated or not.
|
boolean |
isAutoGrowRanging()
This is true when the axis determines its range from the data automatically and grows it if necessary
|
boolean |
isAutoRangeRounding()
Returns the value of the
autoRangeRoundingProperty(). |
boolean |
isAutoRanging()
Gets the value of the property autoRanging.
|
boolean |
isAutoUnitScaling()
Gets the value of the property autoUnitScaling.
|
boolean |
isDefined() |
boolean |
isInvertedAxis()
This is
true when the axis labels and data point order should be inverted |
boolean |
isMinorTickVisible()
Gets the value of the property minorTickVisible.
|
boolean |
isTickLabelsVisible()
Gets the value of the property tickLabelsVisible.
|
boolean |
isTickMarkVisible()
Gets the value of the property tickMarkVisible.
|
boolean |
isTimeAxis()
This is true when the axis corresponds to a time-axis
|
DoubleProperty |
maxProperty() |
IntegerProperty |
minorTickCountProperty()
The number of minor tick divisions to be displayed between each major tick mark.
|
DoubleProperty |
minorTickLengthProperty()
The length of minor tick mark lines.
|
BooleanProperty |
minorTickVisibleProperty()
true if minor tick marks should be displayed
|
DoubleProperty |
minProperty() |
StringProperty |
nameProperty() |
ObjectProperty<AxisLabelOverlapPolicy> |
overlapPolicyProperty()
The side of the plot which this axis is being drawn on
|
ReadOnlyDoubleProperty |
scaleProperty()
The scale factor from data units to visual units
|
boolean |
set(double min,
double max) |
boolean |
set(String axisName,
String... axisUnit) |
boolean |
set(String axisName,
String axisUnit,
double rangeMin,
double rangeMax) |
void |
setAnimated(boolean value)
Sets the value of the property animated.
|
void |
setAnimationDuration(int value)
Sets the value of the property animationDuration.
|
void |
setAutoGrowRanging(boolean state)
This is true when the axis determines its range from the data automatically and grows it if necessary
|
void |
setAutoRangePadding(double padding)
Sets the value of the
autoRangePaddingProperty() |
void |
setAutoRangeRounding(boolean round)
Sets the value of the
autoRangeRoundingProperty() |
void |
setAutoRanging(boolean value)
Sets the value of the property autoRanging.
|
void |
setAutoUnitScaling(boolean value)
Sets the value of the property autoUnitScaling.
|
void |
setAxisCentrePosition(double value) |
void |
setAxisLabelAlignment(TextAlignment value) |
void |
setAxisLabelGap(double value)
Sets the value of the property axisLabelGap.
|
void |
setAxisPadding(double value)
Sets the value of the property axisPadding.
|
boolean |
setMax(double value) |
boolean |
setMin(double value) |
void |
setMinorTickCount(int value)
Sets the value of the property minorTickCount.
|
void |
setMinorTickLength(double value)
Sets the value of the property minorTickLength.
|
void |
setMinorTickVisible(boolean value)
Sets the value of the property minorTickVisible.
|
void |
setName(String value)
Sets the value of the property name.
|
void |
setOverlapPolicy(AxisLabelOverlapPolicy value)
Sets the value of the property overlapPolicy.
|
protected void |
setScale(double scale)
Sets the value of the property scale.
|
void |
setSide(Side value)
Sets the value of the property side.
|
void |
setTickLabelFill(Paint value)
Sets the value of the property tickLabelFill.
|
void |
setTickLabelFont(Font value)
Sets the value of the property tickLabelFont.
|
void |
setTickLabelFormatter(StringConverter<Number> value)
Sets the value of the property tickLabelFormatter.
|
void |
setTickLabelGap(double value)
Sets the value of the property tickLabelGap.
|
void |
setTickLabelRotation(double value)
Sets the value of the property tickLabelRotation.
|
void |
setTickLabelsVisible(boolean value)
Sets the value of the property tickLabelsVisible.
|
void |
setTickLength(double value)
Sets the value of the property tickLength.
|
void |
setTickMarkVisible(boolean value)
Sets the value of the property tickMarkVisible.
|
void |
setTickUnit(double unit)
Sets the value of the
tickUnitProperty(). |
void |
setTimeAxis(boolean value)
This is
true when the axis labels and data point should be plotted according to some time-axis definition |
void |
setUnit(String value)
Sets the value of the property unit.
|
void |
setUnitScaling(double value)
Sets the value of the property unitScaling.
|
void |
setUnitScaling(MetricPrefix prefix) |
ObjectProperty<Side> |
sideProperty()
The side of the plot which this axis is being drawn on default axis orientation is BOTTOM, can be set latter to
another side
|
ObjectProperty<Paint> |
tickLabelFillProperty()
The fill for all tick labels
|
ObjectProperty<Font> |
tickLabelFontProperty()
The font for all tick labels
|
ObjectProperty<StringConverter<Number>> |
tickLabelFormatterProperty()
StringConverter used to format tick mark labels.
|
DoubleProperty |
tickLabelGapProperty()
The gap between tick labels and the tick mark lines
|
DoubleProperty |
tickLabelRotationProperty()
Rotation in degrees of tick mark labels from their normal horizontal.
|
BooleanProperty |
tickLabelsVisibleProperty()
true if tick mark labels should be displayed
|
DoubleProperty |
tickLengthProperty()
The length of tick mark lines
|
BooleanProperty |
tickMarkVisibleProperty()
true if tick marks should be displayed
|
DoubleProperty |
tickUnitProperty()
The value between each major tick mark in data units.
|
BooleanProperty |
timeAxisProperty()
This is
true when the axis labels and data point should be plotted according to some time-axis definition |
ObjectProperty<String> |
unitProperty() |
DoubleProperty |
unitScalingProperty()
The axis unit label
|
protected void |
updateAxisLabelAndUnit() |
List<EventListener> |
updateEventListener() |
protected void |
updateScaleAndUnitPrefix() |
getChildrenbackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthPropertygetBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBoundsaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_cssGetFocusTraversableInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visiblePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdrawAxis, forceRedraw, getAxisTransform, getDisplayPosition, getHeight, getLogAxisType, getTickMarkLabel, getValueForDisplay, getWidth, getZeroPosition, invalidateRange, isLogAxis, isValueOnAxis, requestAxisLayoutadd, setaddListener, invokeListener, invokeListener, isAutoNotification, removeListenerpublic BooleanProperty animatedProperty
isAnimated(),
setAnimated(boolean)public IntegerProperty animationDurationProperty
getAnimationDuration(),
setAnimationDuration(int)public BooleanProperty autoGrowRangingProperty
autoGrowRangingProperty in interface AxisisAutoGrowRanging(),
setAutoGrowRanging(boolean)public DoubleProperty autoRangePaddingProperty
getAutoRangePadding(),
setAutoRangePadding(double)public BooleanProperty autoRangeRoundingProperty
autoRangingProperty() on, defines if the range should be extended to the major tick unit value. For
example with range [3, 74] and major tick unit [5], the range will be extended to [0, 75].
Default value: true
public BooleanProperty autoRangingProperty
autoRangingProperty in interface AxisisAutoRanging(),
setAutoRanging(boolean)public BooleanProperty autoUnitScalingProperty
autoUnitScalingProperty in interface AxisisAutoUnitScaling(),
setAutoUnitScaling(boolean)public DoubleProperty axisLabelGapProperty
getAxisLabelGap(),
setAxisLabelGap(double)public ObjectProperty<TextAlignment> axisLabelTextAlignmentProperty
public DoubleProperty axisPaddingProperty
getAxisPadding(),
setAxisPadding(double)public DoubleProperty centerAxisPositionProperty
getCenterAxisPosition()public BooleanProperty invertAxisProperty
true when the axis labels and data point order should be invertedinvertAxisProperty in interface Axispublic DoubleProperty maxProperty
maxProperty in interface AxisgetMax()public IntegerProperty minorTickCountProperty
getMinorTickCount(),
setMinorTickCount(int)public DoubleProperty minorTickLengthProperty
getMinorTickLength(),
setMinorTickLength(double)public BooleanProperty minorTickVisibleProperty
isMinorTickVisible(),
setMinorTickVisible(boolean)public DoubleProperty minProperty
minProperty in interface AxisgetMin()public StringProperty nameProperty
nameProperty in interface AxisgetName(),
setName(String)public ObjectProperty<AxisLabelOverlapPolicy> overlapPolicyProperty
public ReadOnlyDoubleProperty scaleProperty
getScale(),
setScale(double)public ObjectProperty<Side> sideProperty
sideProperty in interface AxisgetSide(),
setSide(Side)public ObjectProperty<Paint> tickLabelFillProperty
getTickLabelFill(),
setTickLabelFill(Paint)public ObjectProperty<Font> tickLabelFontProperty
getTickLabelFont(),
setTickLabelFont(Font)public ObjectProperty<StringConverter<Number>> tickLabelFormatterProperty
public DoubleProperty tickLabelGapProperty
getTickLabelGap(),
setTickLabelGap(double)public DoubleProperty tickLabelRotationProperty
public BooleanProperty tickLabelsVisibleProperty
public DoubleProperty tickLengthProperty
getTickLength(),
setTickLength(double)public BooleanProperty tickMarkVisibleProperty
isTickMarkVisible(),
setTickMarkVisible(boolean)public DoubleProperty tickUnitProperty
tickUnitProperty in interface AxisgetTickUnit(),
setTickUnit(double)public BooleanProperty timeAxisProperty
true when the axis labels and data point should be plotted according to some time-axis definitiontimeAxisProperty in interface AxisisTimeAxis(),
setTimeAxis(boolean)public ObjectProperty<String> unitProperty
unitProperty in interface AxisgetUnit(),
setUnit(String)public DoubleProperty unitScalingProperty
unitScalingProperty in interface AxisgetUnitScaling(),
setUnitScaling(double)protected static final int DEFAULT_MINOR_TICK_COUNT
protected final Path majorTickStyle
protected final Path minorTickStyle
protected final AxisLabel axisLabel
protected double oldAxisLength
protected boolean rangeValid
protected boolean measureInvalid
protected boolean tickLabelsVisibleInvalid
protected final ObservableList<TickMark> majorTickMarks
protected final ObservableList<TickMark> minorTickMarks
protected AxisRange autoRange
protected AxisRange userRange
protected final DoubleProperty tickLabelRotation
protected final DoubleProperty maxProp
protected final DoubleProperty minProp
protected final DoubleProperty scaleBinding
protected boolean isInvertedAxis
protected boolean isTimeAxis
protected final SimpleStyleableDoubleProperty tickUnit
public AbstractAxisParameter()
public boolean add(double value)
add in interface AxisDescriptionpublic boolean add(double[] values,
int nlength)
add in interface AxisDescriptionpublic BooleanProperty animatedProperty()
isAnimated(),
setAnimated(boolean)public IntegerProperty animationDurationProperty()
getAnimationDuration(),
setAnimationDuration(int)public BooleanProperty autoGrowRangingProperty()
autoGrowRangingProperty in interface AxisisAutoGrowRanging(),
setAutoGrowRanging(boolean)public AtomicBoolean autoNotification()
autoNotification in interface EventSourcepublic DoubleProperty autoRangePaddingProperty()
getAutoRangePadding(),
setAutoRangePadding(double)public BooleanProperty autoRangeRoundingProperty()
autoRangingProperty() on, defines if the range should be extended to the major tick unit value. For
example with range [3, 74] and major tick unit [5], the range will be extended to [0, 75].
Default value: true
public BooleanProperty autoRangingProperty()
autoRangingProperty in interface AxisisAutoRanging(),
setAutoRanging(boolean)public BooleanProperty autoUnitScalingProperty()
autoUnitScalingProperty in interface AxisisAutoUnitScaling(),
setAutoUnitScaling(boolean)public DoubleProperty axisLabelGapProperty()
getAxisLabelGap(),
setAxisLabelGap(double)public ObjectProperty<TextAlignment> axisLabelTextAlignmentProperty()
public DoubleProperty axisPaddingProperty()
getAxisPadding(),
setAxisPadding(double)public DoubleProperty centerAxisPositionProperty()
getCenterAxisPosition()public boolean clear()
clear in interface AxisDescriptionpublic boolean contains(double value)
contains in interface AxisDescriptionprotected double decadeRange()
public abstract void fireInvalidated()
public TextAlignment getaAxisLabelTextAlignment()
public int getAnimationDuration()
public AxisRange getAutoRange()
AxisgetAutoRange in interface Axispublic double getAutoRangePadding()
autoRangePaddingProperty().public Text getAxisLabel()
public double getAxisLabelGap()
public double getAxisPadding()
public double getCenterAxisPosition()
public List<CssMetaData<? extends Styleable,?>> getCssMetaData()
getCssMetaData in interface StyleablegetCssMetaData in class Regionpublic double getLength()
getLength in interface AxisgetLength in interface AxisDescriptionpublic Path getMajorTickStyle()
public double getMax()
getMax in interface AxisDescriptionpublic double getMin()
getMin in interface AxisDescriptionpublic int getMinorTickCount()
getMinorTickCount in interface Axispublic double getMinorTickLength()
public ObservableList<TickMark> getMinorTickMarks()
getMinorTickMarks in interface Axispublic Path getMinorTickStyle()
public String getName()
getName in interface AxisDescriptionpublic AxisLabelOverlapPolicy getOverlapPolicy()
public AxisRange getRange()
public double getScale()
public Side getSide()
public Paint getTickLabelFill()
getTickLabelFill in interface Axispublic Font getTickLabelFont()
getTickLabelFont in interface Axispublic StringConverter<Number> getTickLabelFormatter()
getTickLabelFormatter in interface Axispublic double getTickLabelGap()
getTickLabelGap in interface Axispublic double getTickLabelRotation()
public double getTickLength()
public ObservableList<TickMark> getTickMarks()
getTickMarks in interface Axispublic double getTickUnit()
getTickUnit in interface Axispublic String getUnit()
getUnit in interface AxisDescriptionpublic double getUnitScaling()
getUnitScaling in interface Axispublic AxisRange getUserRange()
AxisgetUserRange in interface Axisprotected void invalidateRange()
public void invertAxis(boolean value)
true when the axis labels and data point order should be invertedinvertAxis in interface Axisvalue - true if axis shall be inverted (i.e. drawn from 'max->min', rather than the normal
'min->max')public BooleanProperty invertAxisProperty()
true when the axis labels and data point order should be invertedinvertAxisProperty in interface Axispublic void invokeListener(UpdateEvent updateEvent, boolean executeParallel)
invokeListener in interface AxisinvokeListener in interface EventSourceupdateEvent - the event the listeners are notified withexecuteParallel - true execute event listener via parallel executor servicepublic boolean isAnimated()
public boolean isAutoGrowRanging()
isAutoGrowRanging in interface Axispublic boolean isAutoRangeRounding()
autoRangeRoundingProperty().public boolean isAutoRanging()
isAutoRanging in interface Axispublic boolean isAutoUnitScaling()
isAutoUnitScaling in interface Axispublic boolean isDefined()
isDefined in interface AxisDescriptionpublic boolean isInvertedAxis()
true when the axis labels and data point order should be invertedisInvertedAxis in interface Axistrue if axis shall be inverted (i.e. drawn from 'max->min', rather than the normal
'min->max')public boolean isMinorTickVisible()
public boolean isTickLabelsVisible()
public boolean isTickMarkVisible()
public boolean isTimeAxis()
isTimeAxis in interface Axispublic DoubleProperty maxProperty()
maxProperty in interface AxisgetMax()public IntegerProperty minorTickCountProperty()
getMinorTickCount(),
setMinorTickCount(int)public DoubleProperty minorTickLengthProperty()
getMinorTickLength(),
setMinorTickLength(double)public BooleanProperty minorTickVisibleProperty()
isMinorTickVisible(),
setMinorTickVisible(boolean)public DoubleProperty minProperty()
minProperty in interface AxisgetMin()public StringProperty nameProperty()
nameProperty in interface AxisgetName(),
setName(String)public ObjectProperty<AxisLabelOverlapPolicy> overlapPolicyProperty()
public ReadOnlyDoubleProperty scaleProperty()
getScale(),
setScale(double)public boolean set(double min,
double max)
set in interface AxisDescriptionpublic boolean set(String axisName, String... axisUnit)
set in interface AxisDescriptionpublic boolean set(String axisName, String axisUnit, double rangeMin, double rangeMax)
set in interface AxisDescriptionpublic void setAnimated(boolean value)
setAnimated in interface Axisvalue - true if axis range changes will be animated and false otherwisepublic void setAnimationDuration(int value)
public void setAutoGrowRanging(boolean state)
setAutoGrowRanging in interface Axisstate - true if axis shall be updated to the optimal data range and grows it if necessarypublic void setAutoRangePadding(double padding)
autoRangePaddingProperty()padding - padding factorpublic void setAutoRangeRounding(boolean round)
autoRangeRoundingProperty()round - if true, lower and upper bound will be adjusted to the tick unit valuepublic void setAutoRanging(boolean value)
setAutoRanging in interface Axisvalue - true if axis shall be updated to the optimal data rangepublic void setAutoUnitScaling(boolean value)
setAutoUnitScaling in interface Axisvalue - scaling value true -> scale to the nearest SI unit prefixpublic void setAxisCentrePosition(double value)
public void setAxisLabelAlignment(TextAlignment value)
public void setAxisLabelGap(double value)
public void setAxisPadding(double value)
public boolean setMax(double value)
setMax in interface AxisDescriptionpublic boolean setMin(double value)
setMin in interface AxisDescriptionpublic void setMinorTickCount(int value)
public void setMinorTickLength(double value)
public void setMinorTickVisible(boolean value)
public void setName(String value)
public void setOverlapPolicy(AxisLabelOverlapPolicy value)
protected void setScale(double scale)
public void setSide(Side value)
public void setTickLabelFill(Paint value)
public void setTickLabelFont(Font value)
public void setTickLabelFormatter(StringConverter<Number> value)
public void setTickLabelGap(double value)
public void setTickLabelRotation(double value)
public void setTickLabelsVisible(boolean value)
public void setTickLength(double value)
public void setTickMarkVisible(boolean value)
public void setTickUnit(double unit)
tickUnitProperty().setTickUnit in interface Axisunit - major tick unitpublic void setTimeAxis(boolean value)
true when the axis labels and data point should be plotted according to some time-axis definitionsetTimeAxis in interface Axisvalue - true if axis shall be drawn with time-axis labelspublic void setUnit(String value)
public void setUnitScaling(double value)
setUnitScaling in interface Axisvalue - the new axis primary unit labelpublic void setUnitScaling(MetricPrefix prefix)
setUnitScaling in interface Axisprefix - the new axis primary unit labelpublic ObjectProperty<Side> sideProperty()
sideProperty in interface AxisgetSide(),
setSide(Side)public ObjectProperty<Paint> tickLabelFillProperty()
getTickLabelFill(),
setTickLabelFill(Paint)public ObjectProperty<Font> tickLabelFontProperty()
getTickLabelFont(),
setTickLabelFont(Font)public ObjectProperty<StringConverter<Number>> tickLabelFormatterProperty()
public DoubleProperty tickLabelGapProperty()
getTickLabelGap(),
setTickLabelGap(double)public DoubleProperty tickLabelRotationProperty()
public BooleanProperty tickLabelsVisibleProperty()
public DoubleProperty tickLengthProperty()
getTickLength(),
setTickLength(double)public BooleanProperty tickMarkVisibleProperty()
isTickMarkVisible(),
setTickMarkVisible(boolean)public DoubleProperty tickUnitProperty()
tickUnitProperty in interface AxisgetTickUnit(),
setTickUnit(double)public BooleanProperty timeAxisProperty()
true when the axis labels and data point should be plotted according to some time-axis definitiontimeAxisProperty in interface AxisisTimeAxis(),
setTimeAxis(boolean)public ObjectProperty<String> unitProperty()
unitProperty in interface AxisgetUnit(),
setUnit(String)public DoubleProperty unitScalingProperty()
unitScalingProperty in interface AxisgetUnitScaling(),
setUnitScaling(double)protected void updateAxisLabelAndUnit()
public List<EventListener> updateEventListener()
updateEventListener in interface EventSourceprotected void updateScaleAndUnitPrefix()
public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.