org.gudy.azureus2.ui.swt.components.graphics
Class MultiPlotGraphic
java.lang.Object
org.gudy.azureus2.ui.swt.components.graphics.BackGroundGraphic
org.gudy.azureus2.ui.swt.components.graphics.ScaledGraphic
org.gudy.azureus2.ui.swt.components.graphics.MultiPlotGraphic
- All Implemented Interfaces:
- ParameterListener, Graphic
public class MultiPlotGraphic
- extends ScaledGraphic
- implements ParameterListener
- Author:
- Olivier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static MultiPlotGraphic getInstance(ValueSource[] sources,
ValueFormater formatter)
initialize
public void initialize(org.eclipse.swt.widgets.Canvas canvas)
- Specified by:
initialize
in interface Graphic
- Overrides:
initialize
in class BackGroundGraphic
initialize
public void initialize(org.eclipse.swt.widgets.Canvas canvas,
boolean is_active)
setActive
public void setActive(boolean active)
reset
public void reset(int[][] history)
refresh
public void refresh(boolean force)
- Specified by:
refresh
in interface Graphic
- Overrides:
refresh
in class BackGroundGraphic
drawChart
protected void drawChart(boolean sizeChanged)
parameterChanged
public void parameterChanged(String parameter)
- Description copied from interface:
ParameterListener
- Called, when a parameter has changed.
The listener could only react if the parameter name is relevant.
Or the listener can just read all parameters again.
- Specified by:
parameterChanged
in interface ParameterListener
- Parameters:
parameter
- the name of the parameter that has changed
dispose
public void dispose()
- Overrides:
dispose
in class ScaledGraphic