de.erichseifert.gral.plots
Class PiePlot.PiePlotArea2D
java.lang.Object
de.erichseifert.gral.AbstractDrawable
de.erichseifert.gral.PlotArea
de.erichseifert.gral.plots.PiePlot.PiePlotArea2D
- All Implemented Interfaces:
- DataListener, Drawable, SettingsListener, SettingsStorage
- Enclosing class:
- PiePlot
public static class PiePlot.PiePlotArea2D
- extends PlotArea
- implements DataListener
Class that represents the drawing area of a PiePlot
.
Constructor Summary |
PiePlot.PiePlotArea2D(PiePlot plot)
Constructor that creates a new instance and initializes it with a
plot acting as data provider. |
Method Summary |
void |
dataChanged(DataSource data)
Method that is invoked by objects that provide support for
DataListeners. |
void |
draw(DrawingContext configuration)
Draws the Drawable with the specified
Graphics2D object. |
PiePlot.PiePlotArea2D
public PiePlot.PiePlotArea2D(PiePlot plot)
- Constructor that creates a new instance and initializes it with a
plot acting as data provider.
- Parameters:
plot
- Data provider.
draw
public void draw(DrawingContext configuration)
- Description copied from interface:
Drawable
- Draws the
Drawable
with the specified
Graphics2D
object.
- Specified by:
draw
in interface Drawable
- Parameters:
configuration
- Environment used for drawing
dataChanged
public void dataChanged(DataSource data)
- Description copied from interface:
DataListener
- Method that is invoked by objects that provide support for
DataListeners.
- Specified by:
dataChanged
in interface DataListener
- Parameters:
data
- data that has changed
Copyright © 2009-2010. All Rights Reserved.