Package org.pepstock.charba.client.geo
Class BubbleMapDataPoint
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.data.AbstractDataPoint
- 
- org.pepstock.charba.client.geo.BubbleMapDataPoint
 
 
 
- 
 public final class BubbleMapDataPoint extends AbstractDataPoint Used for BubbleMap data sets to set the data to render.
 A data has to have alatitudeandlongitudeproperties and avalueproperty containing the value for the coloring.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBubbleMapDataPoint.BubbleMapDataPointFactoryCreatesBubbleMapDataPointform aNativeObject.
 - 
Field SummaryFields Modifier and Type Field Description static BubbleMapDataPoint.BubbleMapDataPointFactoryFACTORYFactory instance to create data points.
 - 
Constructor SummaryConstructors Constructor Description BubbleMapDataPoint()Creates the object with an empty native object.BubbleMapDataPoint(double latitude, double longitude)Creates the object with the assigned latitude and longitude.BubbleMapDataPoint(double latitude, double longitude, double value)Creates the object with the assigned latitude, longitude and value.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLatitude()Returns the latitude of the data.doublegetLongitude()Returns the longitude of the data.doublegetValue()Returns the value for the coloring.voidsetLatitude(double latitude)Sets the latitude of the data.voidsetLongitude(double longitude)Sets the longitude of the data.voidsetValue(double value)Sets the value for the coloring.- 
Methods inherited from class org.pepstock.charba.client.data.AbstractDataPointgetAttribute, getAttributeAsDate, getAttributeAsObject, getAttributeAsString, setAttribute, setAttribute, setAttribute, setAttribute
 - 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 
- 
 
- 
- 
- 
Field Detail- 
FACTORYpublic static final BubbleMapDataPoint.BubbleMapDataPointFactory FACTORY Factory instance to create data points. To use byDataItemto get the data point for bubble map chart.
 
- 
 - 
Constructor Detail- 
BubbleMapDataPointpublic BubbleMapDataPoint() Creates the object with an empty native object.
 - 
BubbleMapDataPointpublic BubbleMapDataPoint(double latitude, double longitude)Creates the object with the assigned latitude and longitude.- Parameters:
- latitude- the latitude of the data
- longitude- the longitude of the data
 
 - 
BubbleMapDataPointpublic BubbleMapDataPoint(double latitude, double longitude, double value)Creates the object with the assigned latitude, longitude and value.- Parameters:
- latitude- the latitude of the data
- longitude- the longitude of the data
- value- the value for the coloring
 
 
- 
 - 
Method Detail- 
setLatitudepublic void setLatitude(double latitude) Sets the latitude of the data.- Parameters:
- latitude- the latitude of the data
 
 - 
getLatitudepublic double getLatitude() Returns the latitude of the data.- Returns:
- the latitude of the data
 
 - 
setLongitudepublic void setLongitude(double longitude) Sets the longitude of the data.- Parameters:
- longitude- the longitude of the data
 
 - 
getLongitudepublic double getLongitude() Returns the longitude of the data.- Returns:
- the longitude of the data
 
 - 
setValuepublic final void setValue(double value) Sets the value for the coloring.- Parameters:
- value- the value for the coloring
 
 - 
getValuepublic final double getValue() Returns the value for the coloring.- Returns:
- the value for the coloring
 
 
- 
 
-