public class AxisRescaledEvent extends Object implements Serializable
Axis.setExtremes().| Constructor and Description |
|---|
AxisRescaledEvent(int axis,
int axisIndex,
Number minimum,
Number maximum)
Constructs the event with animated transition, redraws the chart.
|
AxisRescaledEvent(int axis,
int axisIndex,
Number minimum,
Number maximum,
boolean redraw)
Constructs the event with animated transition.
|
AxisRescaledEvent(int axis,
int axisIndex,
Number minimum,
Number maximum,
boolean redraw,
boolean animate)
Constructs the event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAxis()
Returns a number indicating axis dimension (X, Y, ...).
|
int |
getAxisIndex()
Returns the axis the event is about.
|
Number |
getMaximum()
Returns the new maximum value on the axis.
|
Number |
getMinimum()
Returns the new minimum value on the axis.
|
boolean |
isAnimated()
Checks whether or not animate the resizing.
|
boolean |
isRedrawingNeeded()
Checks whether or not to redraw the chart.
|
public AxisRescaledEvent(int axis,
int axisIndex,
Number minimum,
Number maximum,
boolean redraw,
boolean animate)
axis - Number depicting the dimension of the axis. 0 is X, 1 is Y,
etc.axisIndex - Index of the axis.minimum - Minimum value on the axis.maximum - Maximum value on the axis.redraw - Whether or not to redraw the chart.animate - Whether or not to animate the rescaling.public AxisRescaledEvent(int axis,
int axisIndex,
Number minimum,
Number maximum,
boolean redraw)
axis - Number depicting the dimension of the axis. 0 is X, 1 is Y,
etc.axisIndex - The axis that was resized.minimum - Minimum value on the axis.maximum - Maximum value on the axis.redraw - Whether or not to redraw the chart.public AxisRescaledEvent(int axis,
int axisIndex,
Number minimum,
Number maximum)
axis - Number depicting the dimension of the axis. 0 is X, 1 is Y,
etc.axisIndex - The axis that was resized.minimum - Minimum value on the axis.maximum - Maximum value on the axis.public Number getMinimum()
public Number getMaximum()
public boolean isRedrawingNeeded()
public boolean isAnimated()
public int getAxisIndex()
public int getAxis()
Copyright © 2025. All rights reserved.