public interface

Pannable

org.jfree.chart.plot.Pannable
Known Indirect Subclasses

Class Overview

An interface that the ChartPanel class uses to communicate with plots that support panning.

Summary

Public Methods
abstract PlotOrientation getOrientation()
Returns the orientation of the plot.
abstract boolean isDomainPannable()
Evaluates if the domain axis can be panned.
abstract boolean isRangePannable()
Evaluates if the range axis can be panned.
abstract void panDomainAxes(double percent, PlotRenderingInfo info, Point2D source)
Pans the domain axes by the specified percentage.
abstract void panRangeAxes(double percent, PlotRenderingInfo info, Point2D source)
Pans the range axes by the specified percentage.

Public Methods

public abstract PlotOrientation getOrientation ()

Returns the orientation of the plot.

Returns
  • The orientation (never null).

public abstract boolean isDomainPannable ()

Evaluates if the domain axis can be panned.

Returns
  • true if the domain axis is pannable.

public abstract boolean isRangePannable ()

Evaluates if the range axis can be panned.

Returns
  • true if the range axis is pannable.

public abstract void panDomainAxes (double percent, PlotRenderingInfo info, Point2D source)

Pans the domain axes by the specified percentage.

Parameters
percent the distance to pan (as a percentage of the axis length).
info the plot info
source the source point where the pan action started.

public abstract void panRangeAxes (double percent, PlotRenderingInfo info, Point2D source)

Pans the range axes by the specified percentage.

Parameters
percent the distance to pan (as a percentage of the axis length).
info the plot info
source the source point where the pan action started.