it.eng.spagobi.engines.chart.bo.charttypes.utils
Class KpiInterval

java.lang.Object
  extended by it.eng.spagobi.engines.chart.bo.charttypes.utils.KpiInterval

public class KpiInterval
extends java.lang.Object

* @author Giulio Gavardi giulio.gavardi@eng.it


Constructor Summary
KpiInterval()
          Instantiates a new kpi interval.
KpiInterval(double min, double max, java.awt.Color color)
          Instantiates a new kpi interval.
 
Method Summary
 java.awt.Color getColor()
          Gets the color.
 java.lang.String getLabel()
          Gets the label.
 double getMax()
          Gets the max.
 double getMin()
          Gets the min.
 void setColor(java.awt.Color color)
          Sets the color.
 void setLabel(java.lang.String label)
          Sets the label.
 void setMax(double max)
          Sets the max.
 void setMin(double min)
          Sets the min.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KpiInterval

public KpiInterval()
Instantiates a new kpi interval.


KpiInterval

public KpiInterval(double min,
                   double max,
                   java.awt.Color color)
Instantiates a new kpi interval.

Parameters:
min - the min
max - the max
color - the color
Method Detail

getMin

public double getMin()
Gets the min.

Returns:
the min

setMin

public void setMin(double min)
Sets the min.

Parameters:
min - the new min

getMax

public double getMax()
Gets the max.

Returns:
the max

setMax

public void setMax(double max)
Sets the max.

Parameters:
max - the new max

getColor

public java.awt.Color getColor()
Gets the color.

Returns:
the color

setColor

public void setColor(java.awt.Color color)
Sets the color.

Parameters:
color - the new color

getLabel

public java.lang.String getLabel()
Gets the label.

Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Sets the label.

Parameters:
label - the new label