de.erichseifert.gral.plots.areas
Class DefaultAreaRenderer2D

java.lang.Object
  extended by de.erichseifert.gral.plots.areas.AbstractAreaRenderer
      extended by de.erichseifert.gral.plots.areas.DefaultAreaRenderer2D
All Implemented Interfaces:
AreaRenderer, SettingsListener, SettingsStorage

public class DefaultAreaRenderer2D
extends AbstractAreaRenderer

Default two-dimensional implementation of the AreaRenderer interface.


Field Summary
 
Fields inherited from interface de.erichseifert.gral.plots.areas.AreaRenderer
COLOR, GAP, GAP_ROUNDED
 
Constructor Summary
DefaultAreaRenderer2D()
           
 
Method Summary
 Drawable getArea(Axis axis, AxisRenderer axisRenderer, Iterable<DataPoint> points)
          Returns the graphical representation to be drawn for the specified data points.
 
Methods inherited from class de.erichseifert.gral.plots.areas.AbstractAreaRenderer
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault, settingChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAreaRenderer2D

public DefaultAreaRenderer2D()
Method Detail

getArea

public Drawable getArea(Axis axis,
                        AxisRenderer axisRenderer,
                        Iterable<DataPoint> points)
Description copied from interface: AreaRenderer
Returns the graphical representation to be drawn for the specified data points.

Parameters:
axis - Reference axis for the specified data points.
axisRenderer - Renderer of the reference axis.
points - Points to be used for creating the area.
Returns:
Representation of the area.


Copyright © 2009-2010. All Rights Reserved.