Class BubbleEntry
- java.lang.Object
-
- org.eclipse.birt.chart.datafeed.NumberDataPointEntry
-
- org.eclipse.birt.chart.extension.datafeed.BubbleEntry
-
- All Implemented Interfaces:
IDataPointEntry
public final class BubbleEntry extends NumberDataPointEntry
BubbleEntry
-
-
Constructor Summary
Constructors Constructor Description BubbleEntry(java.lang.Object value, java.lang.Object size)The constructor.BubbleEntry(java.lang.Object value, java.lang.Object size, int index)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.icu.math.BigDecimalgetDivisor()Returns divisor of big number.java.lang.StringgetFormattedString(java.lang.String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)Returns the formatted string representation of current object by given formatter and locale.java.lang.StringgetFormattedString(FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)Returns the formatted string representation of current object by given formatter and locale.java.lang.Number[]getNumberData()Gets number data from data set.doublegetSize()java.lang.NumbergetSizeNumber()java.lang.ObjectgetValue()booleanisBigNumber()Checks if the value is big number.booleanisValid()Returns if the DataPointEntry is valid.voidsetNumberData(java.lang.Number[] data)Sets number data into data set.voidsetSize(double dSize)voidsetSize(java.lang.Number size)voidsetValue(java.lang.Object value)java.lang.StringtoString()
-
-
-
Constructor Detail
-
BubbleEntry
public BubbleEntry(java.lang.Object value, java.lang.Object size, int index)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
public BubbleEntry(java.lang.Object value, java.lang.Object size)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 Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getValue
public java.lang.Object getValue()
- Returns:
- Returns the Object value.
-
setValue
public void setValue(java.lang.Object value)
- Parameters:
value- The value to set.
-
getSize
public double getSize()
- Returns:
- Returns the size.
-
getSizeNumber
public java.lang.Number getSizeNumber()
-
setSize
public void setSize(double dSize)
- Parameters:
end- The size to set.
-
setSize
public void setSize(java.lang.Number size)
-
getFormattedString
public java.lang.String getFormattedString(java.lang.String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)Description copied from interface:IDataPointEntryReturns 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
public java.lang.String getFormattedString(FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)
Description copied from interface:IDataPointEntryReturns 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:IDataPointEntryReturns 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
public void setNumberData(java.lang.Number[] data)
Description copied from class:NumberDataPointEntrySets number data into data set.- Specified by:
setNumberDatain classNumberDataPointEntry
-
getNumberData
public java.lang.Number[] getNumberData()
Description copied from class:NumberDataPointEntryGets number data from data set.- Specified by:
getNumberDatain classNumberDataPointEntry- Returns:
-
-