org.jfree.chart.renderer.category
public class CategoryItemRendererState extends RendererState
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.
|
Parameters: info the plot rendering info (null
permitted).
Returns: The bar width.
See Also: CategoryItemRendererState
Returns: The crosshair state (possibly null
).
Since: 1.0.11
See Also: setCrosshairState
Returns: The running total.
See Also: CategoryItemRendererState
Returns: The visible series array (possibly null
).
Since: 1.0.13
Returns: The number or -1.
Since: 1.0.13
Parameters: rowIndex the row index.
Returns: The new row index or -1.
Since: 1.0.13
Parameters: width the width.
See Also: getBarWidth
Parameters: state the new state (null
permitted).
Since: 1.0.11
See Also: getCrosshairState
Parameters: visibleSeries the array (null
permitted).
Since: 1.0.13