peakml.util.jfreechart
Class FastTimePlot
java.lang.Object
org.jfree.chart.plot.Plot
peakml.util.jfreechart.FastTimePlot
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.EventListener, org.jfree.chart.event.AxisChangeListener, org.jfree.chart.event.MarkerChangeListener, org.jfree.chart.LegendItemSource, org.jfree.chart.plot.Pannable, org.jfree.chart.plot.Zoomable, org.jfree.data.general.DatasetChangeListener, org.jfree.util.PublicCloneable
public class FastTimePlot
- extends org.jfree.chart.plot.Plot
- implements org.jfree.chart.plot.Zoomable, org.jfree.chart.plot.Pannable
- See Also:
- Serialized Form
Fields inherited from class org.jfree.chart.plot.Plot |
DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_LEGEND_ITEM_BOX, DEFAULT_LEGEND_ITEM_CIRCLE, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, ZERO |
Constructor Summary |
FastTimePlot(java.lang.String xlabel,
java.lang.String ylabel)
|
Method Summary |
void |
addData(FastTimePlot.Data data)
|
void |
clear()
|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
org.jfree.chart.plot.PlotState parentState,
org.jfree.chart.plot.PlotRenderingInfo info)
|
org.jfree.chart.plot.PlotOrientation |
getOrientation()
|
java.lang.String |
getPlotType()
|
boolean |
isDomainPannable()
|
boolean |
isDomainZoomable()
|
boolean |
isRangePannable()
|
boolean |
isRangeZoomable()
|
void |
panDomainAxes(double percent,
org.jfree.chart.plot.PlotRenderingInfo info,
java.awt.geom.Point2D source)
|
void |
panRangeAxes(double percent,
org.jfree.chart.plot.PlotRenderingInfo info,
java.awt.geom.Point2D source)
|
void |
setAxisLabels(java.lang.String xlabel,
java.lang.String ylabel)
|
void |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
|
void |
zoomDomainAxes(double lowerPercent,
double upperPercent,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
|
void |
zoomDomainAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
|
void |
zoomDomainAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
|
void |
zoomRangeAxes(double lowerPercent,
double upperPercent,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
|
void |
zoomRangeAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
|
void |
zoomRangeAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
|
Methods inherited from class org.jfree.chart.plot.Plot |
addChangeListener, axisChanged, clone, datasetChanged, drawBackground, drawBackgroundImage, drawOutline, equals, getBackgroundAlpha, getBackgroundImage, getBackgroundImageAlignment, getBackgroundImageAlpha, getBackgroundPaint, getDatasetGroup, getDrawingSupplier, getForegroundAlpha, getInsets, getLegendItems, getNoDataMessage, getNoDataMessageFont, getNoDataMessagePaint, getOutlinePaint, getOutlineStroke, getParent, getRootPlot, handleClick, isNotify, isOutlineVisible, isSubplot, markerChanged, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setDrawingSupplier, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setNotify, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent, zoom |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastTimePlot
public FastTimePlot(java.lang.String xlabel,
java.lang.String ylabel)
addData
public void addData(FastTimePlot.Data data)
clear
public void clear()
setOrientation
public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
setAxisLabels
public void setAxisLabels(java.lang.String xlabel,
java.lang.String ylabel)
draw
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
org.jfree.chart.plot.PlotState parentState,
org.jfree.chart.plot.PlotRenderingInfo info)
- Specified by:
draw
in class org.jfree.chart.plot.Plot
getPlotType
public java.lang.String getPlotType()
- Specified by:
getPlotType
in class org.jfree.chart.plot.Plot
getOrientation
public org.jfree.chart.plot.PlotOrientation getOrientation()
- Specified by:
getOrientation
in interface org.jfree.chart.plot.Pannable
- Specified by:
getOrientation
in interface org.jfree.chart.plot.Zoomable
isDomainZoomable
public boolean isDomainZoomable()
- Specified by:
isDomainZoomable
in interface org.jfree.chart.plot.Zoomable
isRangeZoomable
public boolean isRangeZoomable()
- Specified by:
isRangeZoomable
in interface org.jfree.chart.plot.Zoomable
zoomDomainAxes
public void zoomDomainAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
- Specified by:
zoomDomainAxes
in interface org.jfree.chart.plot.Zoomable
zoomDomainAxes
public void zoomDomainAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
- Specified by:
zoomDomainAxes
in interface org.jfree.chart.plot.Zoomable
zoomDomainAxes
public void zoomDomainAxes(double lowerPercent,
double upperPercent,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
- Specified by:
zoomDomainAxes
in interface org.jfree.chart.plot.Zoomable
zoomRangeAxes
public void zoomRangeAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
- Specified by:
zoomRangeAxes
in interface org.jfree.chart.plot.Zoomable
zoomRangeAxes
public void zoomRangeAxes(double factor,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
- Specified by:
zoomRangeAxes
in interface org.jfree.chart.plot.Zoomable
zoomRangeAxes
public void zoomRangeAxes(double lowerPercent,
double upperPercent,
org.jfree.chart.plot.PlotRenderingInfo state,
java.awt.geom.Point2D source)
- Specified by:
zoomRangeAxes
in interface org.jfree.chart.plot.Zoomable
isDomainPannable
public boolean isDomainPannable()
- Specified by:
isDomainPannable
in interface org.jfree.chart.plot.Pannable
isRangePannable
public boolean isRangePannable()
- Specified by:
isRangePannable
in interface org.jfree.chart.plot.Pannable
panDomainAxes
public void panDomainAxes(double percent,
org.jfree.chart.plot.PlotRenderingInfo info,
java.awt.geom.Point2D source)
- Specified by:
panDomainAxes
in interface org.jfree.chart.plot.Pannable
panRangeAxes
public void panRangeAxes(double percent,
org.jfree.chart.plot.PlotRenderingInfo info,
java.awt.geom.Point2D source)
- Specified by:
panRangeAxes
in interface org.jfree.chart.plot.Pannable