org.pentaho.platform.uifoundation.chart
Class WidgetDefinition
java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.general.DefaultValueDataset
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)
|
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 interface org.jfree.data.general.Dataset |
addChangeListener, getGroup, removeChangeListener, setGroup |
Methods inherited from interface org.jfree.util.PublicCloneable |
clone |
WidgetDefinition
public WidgetDefinition(double value,
double minimum,
double maximum)
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()