de.erichseifert.gral.plots
Class PiePlot.PiePlotArea2D

java.lang.Object
  extended by de.erichseifert.gral.AbstractDrawable
      extended by de.erichseifert.gral.PlotArea
          extended by 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.


Field Summary
 
Fields inherited from class de.erichseifert.gral.PlotArea
BACKGROUND, BORDER, COLOR
 
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.
 
Methods inherited from class de.erichseifert.gral.PlotArea
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault, settingChanged
 
Methods inherited from class de.erichseifert.gral.AbstractDrawable
getBounds, getHeight, getPreferredSize, getWidth, getX, getY, setBounds, setBounds
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.