|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.renderer.RendererState
org.jfree.chart.renderer.category.CategoryItemRendererState
public class CategoryItemRendererState
An object that retains temporary state information for a
CategoryItemRenderer.
| Constructor Summary | |
|---|---|
CategoryItemRendererState(PlotRenderingInfo info)
Creates a new object for recording temporary state information for a renderer. |
|
| Method Summary | |
|---|---|
double |
getBarWidth()
Returns the bar width. |
CategoryCrosshairState |
getCrosshairState()
Returns the crosshair state, if any. |
double |
getSeriesRunningTotal()
Returns the series running total. |
int[] |
getVisibleSeriesArray()
Returns a copy of the visible series array. |
int |
getVisibleSeriesCount()
Returns the number of visible series or -1 if no visible series have been specified. |
int |
getVisibleSeriesIndex(int rowIndex)
Returns the index of the row relative to the visible rows. |
void |
setBarWidth(double width)
Sets the bar width. |
void |
setCrosshairState(CategoryCrosshairState state)
Sets the crosshair state. |
void |
setVisibleSeriesArray(int[] visibleSeries)
Sets an array with the indices of the visible rows. |
| 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 |
| Constructor Detail |
|---|
public CategoryItemRendererState(PlotRenderingInfo info)
info - the plot rendering info (null permitted).| Method Detail |
|---|
public double getBarWidth()
setBarWidth(double)public void setBarWidth(double width)
width - the width.getBarWidth()public double getSeriesRunningTotal()
setSeriesRunningTotal(double)public CategoryCrosshairState getCrosshairState()
null).setCrosshairState(CategoryCrosshairState)public void setCrosshairState(CategoryCrosshairState state)
state - the new state (null permitted).getCrosshairState()public int getVisibleSeriesIndex(int rowIndex)
rowIndex - the row index.
public int getVisibleSeriesCount()
public int[] getVisibleSeriesArray()
null).public void setVisibleSeriesArray(int[] visibleSeries)
visibleSeries - the array (null permitted).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||