Class PieChartData.PieChartDataRecord

  • Enclosing class:
    PieChartData

    public static class PieChartData.PieChartDataRecord
    extends java.lang.Object
    Structure definition of data for single block in charts
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getColor()
      Get the color information of single block in Chart.
      java.lang.String getName()
      Gets the value of the name attribute of block in Chart.
      java.lang.Integer getValue()
      Get the value data of single block in Chart.
      void setColor​(java.lang.String color)
      Set the color information of single block in Chart.
      void setName​(java.lang.String name)
      Set the value of the name attribute of block in Chart.
      void setValue​(java.lang.Integer value)
      Set the value data of single block in Chart.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PieChartDataRecord

        public PieChartDataRecord()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name attribute of block in Chart.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String name)
        Set the value of the name attribute of block in Chart.
        Parameters:
        name - allowed object is String
      • getValue

        public java.lang.Integer getValue()
        Get the value data of single block in Chart.
        Returns:
        Integer
      • setValue

        public void setValue​(java.lang.Integer value)
        Set the value data of single block in Chart.
        Parameters:
        value - Integer
      • getColor

        public java.util.Optional<java.lang.String> getColor()
        Get the color information of single block in Chart.
        Returns:
        RGB color value of this single barString
      • setColor

        public void setColor​(java.lang.String color)
        Set the color information of single block in Chart.
        Parameters:
        color - (RGB color value of this single block) String