Class GraphColumn


  • public class GraphColumn
    extends Object
    Author:
    hengsin
    • Constructor Detail

      • GraphColumn

        public GraphColumn​(String label,
                           double value)
        Base Constructor
        Parameters:
        label - label
        value - value
      • GraphColumn

        public GraphColumn​(MAchievement achievement)
        Single Achievement Constructor
        Parameters:
        achievement - achievement
      • GraphColumn

        public GraphColumn​(MGoal goal,
                           BigDecimal data)
        Achievement Goal Constructor
        Parameters:
        goal - goal
        data - count
      • GraphColumn

        public GraphColumn​(MMeasureCalc mc,
                           BigDecimal data)
        Measure Calc Constructor
        Parameters:
        mc - MeasureCalc
      • GraphColumn

        public GraphColumn​(MRequestType rt,
                           BigDecimal data,
                           int id)
        Request Type Constructor
        Parameters:
        rt - Request Type
      • GraphColumn

        public GraphColumn​(MProjectType pt,
                           BigDecimal data,
                           int id)
        Project Type Constructor
        Parameters:
        pt - Project Type
    • Method Detail

      • getGoal

        public MGoal getGoal()
        Get Achievement Goal
        Returns:
        achievement or null
      • getAchievement

        public MAchievement getAchievement()
        Get Single Achievement
        Returns:
        achievement or null
      • getMeasureCalc

        public MMeasureCalc getMeasureCalc()
        Get MeasureCalc
        Returns:
        measure
      • getMeasureDisplay

        public String getMeasureDisplay()
      • getID

        public int getID()
      • getLabel

        public String getLabel()
        Returns:
        Returns the label.
      • setLabel

        public void setLabel​(String label)
        Parameters:
        label - The label to set.
      • setLabel

        public void setLabel​(Timestamp date,
                             String MeasureDisplay)
        Parameters:
        date - for label.
        MeasureDisplay - measure display
      • getTargetValue

        public double getTargetValue()
        Returns:
        Returns the targetValue.
      • setTargetValue

        public void setTargetValue​(double targetValue)
        Parameters:
        targetValue - The targetValue to set.
      • getValue

        public double getValue()
        Returns:
        Returns the data value.
      • setValue

        public void setValue​(double value)
        Parameters:
        value - The data value to set.
      • getColWidth

        public double getColWidth()
        Returns:
        Returns the column width in pixels.
      • setColWidth

        public void setColWidth​(double width)
        Parameters:
        width - The column width in pixels.
      • getColHeight

        public double getColHeight()
        Returns:
        Returns the height in pixels.
      • setColHeight

        public void setColHeight​(double height)
        Parameters:
        height - The height in pixels.