Class RMGraphSeries.Item

  • Enclosing class:
    RMGraphSeries

    public static class RMGraphSeries.Item
    extends java.lang.Object
    A class to represent an individual item inside a graph series, including its key, group, value and bar/wedge shape.
    • Constructor Summary

      Constructors 
      Constructor Description
      Item​(java.lang.String aKey, RMGroup aGroup)
      Creates a new series value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RMShape getBar()
      Returns the bar created for this series value.
      float getFloatValue()
      Returns the float value for this series value.
      RMGroup getGroup()
      Returns the group.
      java.lang.String getKey()
      Returns the key.
      java.lang.Number getValue()
      Returns the value for this series value.
      void setBar​(RMShape aBar)
      Sets the bar created for this series value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.