Class BubbleEntry
java.lang.Object
org.eclipse.birt.chart.datafeed.NumberDataPointEntry
org.eclipse.birt.chart.extension.datafeed.BubbleEntry
- All Implemented Interfaces:
IDataPointEntry
BubbleEntry
-
Constructor Summary
ConstructorsConstructorDescriptionBubbleEntry
(Object value, Object size) The constructor.BubbleEntry
(Object value, Object size, int index) The constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.ibm.icu.math.BigDecimal
Returns divisor of big number.getFormattedString
(String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale) Returns the formatted string representation of current object by given formatter and locale.getFormattedString
(FormatSpecifier formatter, com.ibm.icu.util.ULocale locale) Returns the formatted string representation of current object by given formatter and locale.Number[]
Gets number data from data set.double
getSize()
getValue()
boolean
Checks if the value is big number.boolean
isValid()
Returns if the DataPointEntry is valid.void
setNumberData
(Number[] data) Sets number data into data set.void
setSize
(double dSize) void
void
toString()
-
Constructor Details
-
BubbleEntry
The constructor.- Parameters:
value
- value could be any type or null. Value will represent a category entry with the specified index.size
- size could be Number or null. Null means this entry will be omittedindex
- index for category value. Starting with 1
-
BubbleEntry
The constructor.- Parameters:
value
- value could be Number, String, CDateTime or null. Null means this entry will be omitted.size
- size could be Number or null. Null means this entry will be omitted
-
-
Method Details
-
toString
-
getValue
- Returns:
- Returns the Object value.
-
setValue
- Parameters:
value
- The value to set.
-
getSize
public double getSize()- Returns:
- Returns the size.
-
getSizeNumber
-
setSize
public void setSize(double dSize) - Parameters:
end
- The size to set.
-
setSize
-
getFormattedString
public String getFormattedString(String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale) Description copied from interface:IDataPointEntry
Returns the formatted string representation of current object by given formatter and locale.- Parameters:
type
- data point typeformatter
- An formatterlocale
- Specific locale.- Returns:
- The string representation
- See Also:
-
#getDataPointTypes()
-
getFormattedString
Description copied from interface:IDataPointEntry
Returns the formatted string representation of current object by given formatter and locale.- Parameters:
formatter
- An formatterlocale
- Specific locale.- Returns:
- The string representation
-
isValid
public boolean isValid()Description copied from interface:IDataPointEntry
Returns if the DataPointEntry is valid.- Returns:
- value or not
-
isBigNumber
public boolean isBigNumber()Checks if the value is big number.- Returns:
-
getDivisor
public com.ibm.icu.math.BigDecimal getDivisor()Returns divisor of big number.- Returns:
-
setNumberData
Description copied from class:NumberDataPointEntry
Sets number data into data set.- Specified by:
setNumberData
in classNumberDataPointEntry
-
getNumberData
Description copied from class:NumberDataPointEntry
Gets number data from data set.- Specified by:
getNumberData
in classNumberDataPointEntry
- Returns:
-