org.gudy.azureus2.ui.swt.components.graphics
Class Plot3D

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.components.graphics.Plot3D
All Implemented Interfaces:
ParameterListener, Graphic

public class Plot3D
extends Object
implements Graphic, ParameterListener


Field Summary
protected  org.eclipse.swt.graphics.Image bufferImage
           
protected  AEMonitor this_mon
           
 
Constructor Summary
Plot3D(String[] _labels, ValueFormater[] _formatters)
           
 
Method Summary
 void dispose()
           
protected  void drawPlot()
           
 org.eclipse.swt.graphics.Color[] getColours()
           
 void initialize(org.eclipse.swt.widgets.Canvas _canvas)
           
 void parameterChanged(String parameter)
          Called, when a parameter has changed.
 void refresh(boolean force)
           
 void setMaxZ(int m)
           
 void setTitle(String str)
           
 void update(int[][] _values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bufferImage

protected org.eclipse.swt.graphics.Image bufferImage

this_mon

protected AEMonitor this_mon
Constructor Detail

Plot3D

public Plot3D(String[] _labels,
              ValueFormater[] _formatters)
Method Detail

initialize

public void initialize(org.eclipse.swt.widgets.Canvas _canvas)
Specified by:
initialize in interface Graphic

setTitle

public void setTitle(String str)

getColours

public org.eclipse.swt.graphics.Color[] getColours()

refresh

public void refresh(boolean force)
Specified by:
refresh in interface Graphic

drawPlot

protected void drawPlot()

setMaxZ

public void setMaxZ(int m)

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()

update

public void update(int[][] _values)