public class CategoryItemRendererState extends RendererState
CategoryItemRenderer
.Constructor and Description |
---|
CategoryItemRendererState(PlotRenderingInfo info)
Creates a new object for recording temporary state information for a
renderer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getEntityCollection, getInfo
public CategoryItemRendererState(PlotRenderingInfo info)
info
- the plot rendering info (null
permitted).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).