Class Bubble
java.lang.Object
com.iizix.prop.ui.chart.series.GSeriesValue
com.iizix.prop.ui.chart.series.Bubble
- All Implemented Interfaces:
Cloneable
The bubble series value with X/Y and size values.
- Author:
- Christopher Mindus
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionBubble(double x, double y, double size) Constructor for the bubble value point.Method Summary
Methods inherited from class GSeriesValue
clone, fromString, getString, parseNumber, toString
Field Details
x
public final double xThe X value. An unspecified value is Double.NaN.y
public final double yThe X value. An unspecified value is Double.NaN.size
public final double sizeThe size. An unspecified value is Double.NaN.
Constructor Details
Bubble
public Bubble(double x, double y, double size) Constructor for the bubble value point.- Parameters:
x- The X value, Double.NaN for no value.y- The Y value, Double.NaN for no value.size- The size, Double.NaN for no value.
Method Details
getType
Gets the fill type.- Specified by:
getTypein classGSeriesValue- Returns:
- BUBBLE.
equals
Checks if two fill objects are equal.Compared with
Double.compare(double,double)on the value plus0.0, not with==: an unspecified value isDouble.NaNandNaN==NaNis false. Adding0.0folds-0.0into+0.0so this agrees withhashCode().- Specified by:
equalsin classGSeriesValue
hashCode