org.pentaho.platform.uifoundation.chart
Class WidgetDefinition

java.lang.Object
  extended by org.jfree.data.general.AbstractDataset
      extended by org.jfree.data.general.DefaultValueDataset
          extended by org.pentaho.platform.uifoundation.chart.WidgetDefinition
All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, org.jfree.data.general.Dataset, org.jfree.data.general.ValueDataset, org.jfree.data.Value, org.jfree.util.PublicCloneable
Direct Known Subclasses:
DialWidgetDefinition, ThermometerWidgetDefinition

public abstract class WidgetDefinition
extends org.jfree.data.general.DefaultValueDataset

See Also:
Serialized Form

Constructor Summary
WidgetDefinition(double value, double minimum, double maximum)
           
 
Method Summary
 double getMaximum()
          Gets the maximum value the widget can display
 double getMinimum()
          Gets the minimum value the widget can display
 String getNoDataMessage()
           
abstract  Font getValueFont()
           
 void setMaximum(double maximum)
          Sets the minimum value the widget can display
 void setMinimum(double minimum)
          Sets the minimum value the widget can display
 
Methods inherited from class org.jfree.data.general.DefaultValueDataset
equals, getValue, hashCode, setValue
 
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, getGroup, hasListener, removeChangeListener, setGroup, validateObject
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 
Methods inherited from interface org.jfree.util.PublicCloneable
clone
 

Constructor Detail

WidgetDefinition

public WidgetDefinition(double value,
                        double minimum,
                        double maximum)
Method Detail

getMinimum

public double getMinimum()
Gets the minimum value the widget can display

Returns:
The minimum value the widget can display

setMinimum

public void setMinimum(double minimum)
Sets the minimum value the widget can display

Parameters:
minimum - The minimum value the widget can display

getMaximum

public double getMaximum()
Gets the maximum value the widget can display

Returns:
The maximum value the widget can display

setMaximum

public void setMaximum(double maximum)
Sets the minimum value the widget can display

Parameters:
maximum - The maximum value the widget can display

getValueFont

public abstract Font getValueFont()

getNoDataMessage

public String getNoDataMessage()