public interface Zoomable
ChartPanel
to control the zooming.Modifier and Type | Method and Description |
---|---|
PlotOrientation |
getOrientation()
Returns the orientation of the plot.
|
boolean |
isDomainZoomable()
Returns
true if the plot's domain is zoomable, and
false otherwise. |
boolean |
isRangeZoomable()
Returns
true if the plot's range is zoomable, and
false otherwise. |
void |
zoomDomainAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo state,
Point2D source)
Zooms in on the domain axes.
|
void |
zoomDomainAxes(double factor,
PlotRenderingInfo state,
Point2D source)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
zoomDomainAxes(double factor,
PlotRenderingInfo state,
Point2D source,
boolean useAnchor)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
zoomRangeAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo state,
Point2D source)
Zooms in on the range axes.
|
void |
zoomRangeAxes(double factor,
PlotRenderingInfo state,
Point2D source)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
zoomRangeAxes(double factor,
PlotRenderingInfo state,
Point2D source,
boolean useAnchor)
Multiplies the range on the range axis/axes by the specified factor.
|
boolean isDomainZoomable()
true
if the plot's domain is zoomable, and
false
otherwise.isRangeZoomable()
boolean isRangeZoomable()
true
if the plot's range is zoomable, and
false
otherwise.isDomainZoomable()
PlotOrientation getOrientation()
void zoomDomainAxes(double factor, PlotRenderingInfo state, Point2D source)
source
point can be used in some cases to identify a
subplot, or to determine the center of zooming (refer to the
documentation of the implementing class for details).factor
- the zoom factor.state
- the plot state.source
- the source point (in Java2D coordinates).zoomRangeAxes(double, PlotRenderingInfo, Point2D)
void zoomDomainAxes(double factor, PlotRenderingInfo state, Point2D source, boolean useAnchor)
source
point can be used in some cases to identify a
subplot, or to determine the center of zooming (refer to the
documentation of the implementing class for details).factor
- the zoom factor.state
- the plot state.source
- the source point (in Java2D coordinates).useAnchor
- use source point as zoom anchor?zoomRangeAxes(double, PlotRenderingInfo, Point2D, boolean)
void zoomDomainAxes(double lowerPercent, double upperPercent, PlotRenderingInfo state, Point2D source)
source
point can be used
in some cases to identify a subplot for zooming.lowerPercent
- the new lower bound.upperPercent
- the new upper bound.state
- the plot state.source
- the source point (in Java2D coordinates).zoomRangeAxes(double, double, PlotRenderingInfo, Point2D)
void zoomRangeAxes(double factor, PlotRenderingInfo state, Point2D source)
source
point can be used in some cases to identify a
subplot, or to determine the center of zooming (refer to the
documentation of the implementing class for details).factor
- the zoom factor.state
- the plot state.source
- the source point (in Java2D coordinates).zoomDomainAxes(double, PlotRenderingInfo, Point2D)
void zoomRangeAxes(double factor, PlotRenderingInfo state, Point2D source, boolean useAnchor)
source
point can be used in some cases to identify a
subplot, or to determine the center of zooming (refer to the
documentation of the implementing class for details).factor
- the zoom factor.state
- the plot state.source
- the source point (in Java2D coordinates).useAnchor
- use source point as zoom anchor?zoomDomainAxes(double, PlotRenderingInfo, Point2D)
void zoomRangeAxes(double lowerPercent, double upperPercent, PlotRenderingInfo state, Point2D source)
source
point can be used
in some cases to identify a subplot for zooming.lowerPercent
- the new lower bound.upperPercent
- the new upper bound.state
- the plot state.source
- the source point (in Java2D coordinates).zoomDomainAxes(double, double, PlotRenderingInfo, Point2D)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics