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
Constructors Constructor Description WidgetDefinition(double value, double minimum, double maximum)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double
getMaximum()
Gets the maximum value the widget can displaydouble
getMinimum()
Gets the minimum value the widget can displayString
getNoDataMessage()
abstract Font
getValueFont()
void
setMaximum(double maximum)
Sets the minimum value the widget can displayvoid
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, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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()
-
-