Class RMGraphSeries.Item
- java.lang.Object
-
- com.inductiveautomation.rm.graphing.RMGraphSeries.Item
-
- Enclosing class:
- RMGraphSeries
public static class RMGraphSeries.Item extends java.lang.ObjectA class to represent an individual item inside a graph series, including its key, group, value and bar/wedge shape.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RMShapegetBar()Returns the bar created for this series value.floatgetFloatValue()Returns the float value for this series value.RMGroupgetGroup()Returns the group.java.lang.StringgetKey()Returns the key.java.lang.NumbergetValue()Returns the value for this series value.voidsetBar(RMShape aBar)Sets the bar created for this series value.
-
-
-
Constructor Detail
-
Item
public Item(java.lang.String aKey, RMGroup aGroup)Creates a new series value.
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Returns the key.
-
getGroup
public RMGroup getGroup()
Returns the group.
-
getValue
public java.lang.Number getValue()
Returns the value for this series value.
-
getFloatValue
public float getFloatValue()
Returns the float value for this series value.
-
getBar
public RMShape getBar()
Returns the bar created for this series value.
-
setBar
public void setBar(RMShape aBar)
Sets the bar created for this series value.
-
-