| org.jfree.chart.plot.Zoomable
All known Subclasses: org.jfree.chart.plot.ThermometerPlot, org.jfree.chart.plot.XYPlot, org.jfree.chart.plot.CombinedRangeCategoryPlot, org.jfree.chart.plot.PolarPlot, org.jfree.chart.plot.FastScatterPlot, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.plot.CombinedDomainCategoryPlot, org.jfree.chart.plot.CombinedRangeXYPlot,
Zoomable | public interface Zoomable (Code) | | A plot that is zoomable must implement this interface to provide a
mechanism for the
ChartPanel to control the zooming.
|
Method Summary | |
public PlotOrientation | getOrientation() Returns the orientation of the plot. | public boolean | isDomainZoomable() Returns true if the plot's domain is zoomable, and
false otherwise. | public boolean | isRangeZoomable() Returns true if the plot's range is zoomable, and
false otherwise. | public void | zoomDomainAxes(double factor, PlotRenderingInfo state, Point2D source) Multiplies the range on the domain axis/axes by the specified factor. | public void | zoomDomainAxes(double lowerPercent, double upperPercent, PlotRenderingInfo state, Point2D source) Zooms in on the domain axes. | public void | zoomRangeAxes(double factor, PlotRenderingInfo state, Point2D source) Multiplies the range on the range axis/axes by the specified factor. | public void | zoomRangeAxes(double lowerPercent, double upperPercent, PlotRenderingInfo state, Point2D source) Zooms in on the range axes. |
getOrientation | public PlotOrientation getOrientation()(Code) | | Returns the orientation of the plot.
The orientation. |
isDomainZoomable | public boolean isDomainZoomable()(Code) | | Returns true if the plot's domain is zoomable, and
false otherwise.
A boolean. |
isRangeZoomable | public boolean isRangeZoomable()(Code) | | Returns true if the plot's range is zoomable, and
false otherwise.
A boolean. |
zoomDomainAxes | public void zoomDomainAxes(double factor, PlotRenderingInfo state, Point2D source)(Code) | | Multiplies the range on the domain axis/axes by the specified factor.
Parameters: factor - the zoom factor. Parameters: state - the plot state. Parameters: source - the source point (in Java2D coordinates). |
zoomDomainAxes | public void zoomDomainAxes(double lowerPercent, double upperPercent, PlotRenderingInfo state, Point2D source)(Code) | | Zooms in on the domain axes.
Parameters: lowerPercent - the new lower bound. Parameters: upperPercent - the new upper bound. Parameters: state - the plot state. Parameters: source - the source point (in Java2D coordinates). |
zoomRangeAxes | public void zoomRangeAxes(double factor, PlotRenderingInfo state, Point2D source)(Code) | | Multiplies the range on the range axis/axes by the specified factor.
Parameters: factor - the zoom factor. Parameters: state - the plot state. Parameters: source - the source point (in Java2D coordinates). |
zoomRangeAxes | public void zoomRangeAxes(double lowerPercent, double upperPercent, PlotRenderingInfo state, Point2D source)(Code) | | Zooms in on the range axes.
Parameters: lowerPercent - the new lower bound. Parameters: upperPercent - the new upper bound. Parameters: state - the plot state. Parameters: source - the source point (in Java2D coordinates). |
|
|