com.odesys.chart.bubblechart
Class DefaultBubbleData

java.lang.Object
  |
  +--com.odesys.chart.DefaultElement
        |
        +--com.odesys.chart.bubblechart.DefaultBubbleData
All Implemented Interfaces:
BubbleData, ChartElement

public class DefaultBubbleData
extends DefaultElement
implements BubbleData

DefaultBubbleData is used directly only by DefaultBubbleChartModel. Usually its instances are accessed through BubbleData interface.


Constructor Summary
DefaultBubbleData(ChartModel model, Series series)
          Creates a new DefaultBubbleData instance for the specified ChartModel and data Series.
 
Method Summary
 float getValue()
          Gets the value of the bubble.
 float getX()
          Gets the X coordinate of the center of the bubble.
 float getY()
          Gets the Y coordinate of the center of the bubble.
 void setValue(float value)
          Sets the value of the bubble.
 void setX(float x)
          Sets the X coordinate of the center of the bubble.
 void setY(float y)
          Sets the Y coordinate of the center of the bubble.
 
Methods inherited from class com.odesys.chart.DefaultElement
getColor, getLabel, getModel, getSeries, getUserData, setColor, setLabel, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.odesys.chart.ChartElement
getColor, getLabel, getModel, getSeries, setColor, setLabel
 

Constructor Detail

DefaultBubbleData

public DefaultBubbleData(ChartModel model,
                         Series series)
Creates a new DefaultBubbleData instance for the specified ChartModel and data Series.
Method Detail

setValue

public void setValue(float value)
Description copied from interface: BubbleData
Sets the value of the bubble.
Specified by:
setValue in interface BubbleData

getValue

public float getValue()
Description copied from interface: BubbleData
Gets the value of the bubble.
Specified by:
getValue in interface BubbleData

getX

public float getX()
Description copied from interface: BubbleData
Gets the X coordinate of the center of the bubble.
Specified by:
getX in interface BubbleData

setX

public void setX(float x)
Description copied from interface: BubbleData
Sets the X coordinate of the center of the bubble.
Specified by:
setX in interface BubbleData

getY

public float getY()
Description copied from interface: BubbleData
Gets the Y coordinate of the center of the bubble.
Specified by:
getY in interface BubbleData

setY

public void setY(float y)
Description copied from interface: BubbleData
Sets the Y coordinate of the center of the bubble.
Specified by:
setY in interface BubbleData