public abstract class AbstractAreaRenderer extends BasicSettingsStorage implements AreaRenderer, SettingsListener
Abstract class that renders an area in two-dimensional space.
Functionality includes:
COLOR, GAP, GAP_ROUNDED
Constructor and Description |
---|
AbstractAreaRenderer()
Initializes a new instance with default settings.
|
Modifier and Type | Method and Description |
---|---|
protected Shape |
punch(Shape shape,
List<DataPoint> dataPoints)
Returns the shape of an area from which the shapes of the specified
points are subtracted.
|
void |
settingChanged(SettingChangeEvent event)
Invoked if a setting has changed.
|
addSettingsListener, getSetting, hasSetting, hasSettingDefault, notifySettingChanged, removeSetting, removeSettingDefault, removeSettingsListener, setSetting, setSetting, setSettingDefault
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArea, getAreaShape
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
public AbstractAreaRenderer()
protected Shape punch(Shape shape, List<DataPoint> dataPoints)
shape
- Shape of the area.dataPoints
- Data points on the line.public void settingChanged(SettingChangeEvent event)
settingChanged
in interface SettingsListener
event
- Event containing information about the changed setting.Copyright © 2009-2013. All Rights Reserved.