|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Pannable
An interface that the ChartPanel class uses to communicate with
plots that support panning.
| Method Summary | |
|---|---|
PlotOrientation |
getOrientation()
Returns the orientation of the plot. |
boolean |
isDomainPannable()
Evaluates if the domain axis can be panned. |
boolean |
isRangePannable()
Evaluates if the range axis can be panned. |
void |
panDomainAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the domain axes by the specified percentage. |
void |
panRangeAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the range axes by the specified percentage. |
| Method Detail |
|---|
PlotOrientation getOrientation()
null).boolean isDomainPannable()
true if the domain axis is pannable.boolean isRangePannable()
true if the range axis is pannable.
void panDomainAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
percent - the distance to pan (as a percentage of the axis length).info - the plot infosource - the source point where the pan action started.
void panRangeAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
percent - the distance to pan (as a percentage of the axis length).info - the plot infosource - the source point where the pan action started.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||