public class EditAxis extends ChartPlugin
| Type | Property and Description |
|---|---|
BooleanProperty |
animated
When
true zooming will be animated. |
ObjectProperty<AxisMode> |
axisMode
The mode defining axis along which the zoom can be performed.
|
ObjectProperty<Duration> |
zoomDuration
Duration of the animated fade (in and out).
|
addButtonsToToolBarProperty, chartProperty| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_PREFERRED_HEIGHT |
protected static int |
DEFAULT_PREFERRED_WIDTH |
protected static int |
DEFAULT_SHUTDOWN_PERIOD |
protected static int |
DEFAULT_UPDATE_PERIOD |
static String |
STYLE_CLASS_AXIS_EDITOR |
| Constructor and Description |
|---|
EditAxis()
Creates a new instance of EditAxis with animation disabled and with
editMode
initialized to AxisMode.XY. |
EditAxis(AxisMode editMode)
Creates a new instance of EditAxis with animation disabled
|
EditAxis(AxisMode editMode,
boolean animated)
Creates a new instance of EditAxis.
|
EditAxis(boolean animated)
Creates a new instance of EditAxis with
editMode initialized to AxisMode.XY. |
| Modifier and Type | Method and Description |
|---|---|
BooleanProperty |
animatedProperty()
When
true zooming will be animated. |
ObjectProperty<AxisMode> |
axisModeProperty()
The mode defining axis along which the zoom can be performed.
|
AxisMode |
getAxisMode()
Returns the value of the
axisModeProperty(). |
Duration |
getZoomDuration()
Returns the value of the
zoomDurationProperty(). |
boolean |
isAnimated()
Returns the value of the
animatedProperty(). |
void |
setAnimated(boolean value)
Sets the value of the
animatedProperty(). |
void |
setAxisMode(AxisMode mode)
Sets the value of the
axisModeProperty(). |
void |
setZoomDuration(Duration duration)
Sets the value of the
zoomDurationProperty(). |
ObjectProperty<Duration> |
zoomDurationProperty()
Duration of the animated fade (in and out).
|
addButtonsToToolBarProperty, chartProperty, getChart, getChartChildren, getLocationInPlotArea, isAddButtonsToToolBar, layoutChildren, registerInputEventHandler, setAddButtonsToToolBar, setChart, toDataPoint, toDisplayPointpublic final BooleanProperty animatedProperty
true zooming will be animated. By default it's false.isAnimated(),
setAnimated(boolean)public final ObjectProperty<AxisMode> axisModeProperty
AxisMode.XY.getAxisMode(),
setAxisMode(AxisMode)public final ObjectProperty<Duration> zoomDurationProperty
animatedProperty() is set to true. By
default initialized to 500ms.getZoomDuration(),
setZoomDuration(Duration)public static final String STYLE_CLASS_AXIS_EDITOR
protected static final int DEFAULT_SHUTDOWN_PERIOD
protected static final int DEFAULT_UPDATE_PERIOD
protected static final int DEFAULT_PREFERRED_WIDTH
protected static final int DEFAULT_PREFERRED_HEIGHT
public EditAxis()
editMode
initialized to AxisMode.XY.public EditAxis(AxisMode editMode)
editMode - initial value of editMode propertypublic EditAxis(AxisMode editMode, boolean animated)
public EditAxis(boolean animated)
editMode initialized to AxisMode.XY.animated - initial value of animated propertypublic final BooleanProperty animatedProperty()
true zooming will be animated. By default it's false.isAnimated(),
setAnimated(boolean)public final ObjectProperty<AxisMode> axisModeProperty()
AxisMode.XY.getAxisMode(),
setAxisMode(AxisMode)public final AxisMode getAxisMode()
axisModeProperty().public final Duration getZoomDuration()
zoomDurationProperty().public final boolean isAnimated()
animatedProperty().true if zoom is animated, false otherwisegetZoomDuration()public final void setAnimated(boolean value)
animatedProperty().value - if true zoom will be animatedsetZoomDuration(Duration)public final void setAxisMode(AxisMode mode)
axisModeProperty().mode - the mode to be usedpublic final void setZoomDuration(Duration duration)
zoomDurationProperty().duration - duration of the zoompublic final ObjectProperty<Duration> zoomDurationProperty()
animatedProperty() is set to true. By
default initialized to 500ms.getZoomDuration(),
setZoomDuration(Duration)Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.