public class RMGraphSection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
RMGraphSection.Item
An inner class for a section item.
|
Constructor and Description |
---|
RMGraphSection(RMGraphRPG aGraphRPG,
int anIndex)
Creates a new graph section.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(int aSeriesIndex,
int anItemIndex)
Adds an item for the given series and series item.
|
RMRect |
getBounds()
Returns the bounds of the section.
|
RMGraphSection.Item |
getItem(int anIndex)
Returns the specific item at the given index.
|
int |
getItemCount()
Returns the number of section items
|
float |
getMaxValue()
Returns section maximum value.
|
float |
getMinValue()
Returns section minimum value.
|
static java.util.List |
getSections(RMGraphRPG aGraphRPG)
Returns the list of sections for the graph.
|
float |
getSectionTotal()
Returns the total for all values in series.
|
public RMGraphSection(RMGraphRPG aGraphRPG, int anIndex)
public int getItemCount()
public RMGraphSection.Item getItem(int anIndex)
public void addItem(int aSeriesIndex, int anItemIndex)
public float getMinValue()
public float getMaxValue()
public float getSectionTotal()
public RMRect getBounds()
public static java.util.List getSections(RMGraphRPG aGraphRPG)