|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.renderer.RendererState org.jfree.chart.renderer.xy.XYItemRendererState
public class XYItemRendererState
The state for an XYItemRenderer
.
Field Summary | |
---|---|
java.awt.geom.Line2D |
workingLine
A line object that the renderer can reuse to save instantiating a lot of objects. |
Constructor Summary | |
---|---|
XYItemRendererState(PlotRenderingInfo info)
Creates a new state. |
Method Summary | |
---|---|
void |
endSeriesPass(XYDataset dataset,
int series,
int firstItem,
int lastItem,
int pass,
int passCount)
This method is called by the XYPlot when it ends a pass
through the (visible) items in a series. |
int |
getFirstItemIndex()
Returns the first item index (this is updated with each call to startSeriesPass(XYDataset, int, int, int, int, int) . |
int |
getLastItemIndex()
Returns the last item index (this is updated with each call to startSeriesPass(XYDataset, int, int, int, int, int) . |
boolean |
getProcessVisibleItemsOnly()
Returns the flag that controls whether the plot passes all data items in each series to the renderer, or just the visible items. |
void |
setProcessVisibleItemsOnly(boolean flag)
Sets the flag that controls whether the plot passes all data items in each series to the renderer, or just the visible items. |
void |
startSeriesPass(XYDataset dataset,
int series,
int firstItem,
int lastItem,
int pass,
int passCount)
This method is called by the XYPlot when it starts a pass
through the (visible) items in a series. |
Methods inherited from class org.jfree.chart.renderer.RendererState |
---|
getEntityCollection, getInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.awt.geom.Line2D workingLine
Constructor Detail |
---|
public XYItemRendererState(PlotRenderingInfo info)
info
- the plot rendering info.Method Detail |
---|
public boolean getProcessVisibleItemsOnly()
true
.
setProcessVisibleItemsOnly(boolean)
public void setProcessVisibleItemsOnly(boolean flag)
flag
- the new flag value.public int getFirstItemIndex()
startSeriesPass(XYDataset, int, int, int, int, int)
.
public int getLastItemIndex()
startSeriesPass(XYDataset, int, int, int, int, int)
.
public void startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
XYPlot
when it starts a pass
through the (visible) items in a series. The default implementation
records the first and last item indices - override this method to
implement additional specialised behaviour.
dataset
- the dataset.series
- the series index.firstItem
- the index of the first item in the series.lastItem
- the index of the last item in the series.pass
- the pass index.passCount
- the number of passes.endSeriesPass(XYDataset, int, int, int, int, int)
public void endSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
XYPlot
when it ends a pass
through the (visible) items in a series. The default implementation
does nothing, but you can override this method to implement specialised
behaviour.
dataset
- the dataset.series
- the series index.firstItem
- the index of the first item in the series.lastItem
- the index of the last item in the series.pass
- the pass index.passCount
- the number of passes.startSeriesPass(XYDataset, int, int, int, int, int)
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |