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

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.components.graphics.BackGroundGraphic
      extended by org.gudy.azureus2.ui.swt.components.graphics.ScaledGraphic
All Implemented Interfaces:
Graphic
Direct Known Subclasses:
MultiPlotGraphic, PingGraphic, SpeedGraphic

public class ScaledGraphic
extends BackGroundGraphic

Author:
Olivier

Field Summary
protected  org.eclipse.swt.graphics.Image bufferScale
           
protected  ValueFormater formater
           
protected  Scale scale
           
 
Fields inherited from class org.gudy.azureus2.ui.swt.components.graphics.BackGroundGraphic
bufferBackground, colorWhite, drawCanvas, lightGrey, lightGrey2, this_mon
 
Constructor Summary
ScaledGraphic(Scale scale, ValueFormater formater)
           
 
Method Summary
 void dispose()
           
protected  void drawScale(boolean sizeChanged)
           
 void setUpdateDividerWidth(int width)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.components.graphics.BackGroundGraphic
drawBackGround, initialize, refresh, setColors, setSIIECSensitive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scale

protected Scale scale

formater

protected ValueFormater formater

bufferScale

protected org.eclipse.swt.graphics.Image bufferScale
Constructor Detail

ScaledGraphic

public ScaledGraphic(Scale scale,
                     ValueFormater formater)
Method Detail

setUpdateDividerWidth

public void setUpdateDividerWidth(int width)

drawScale

protected void drawScale(boolean sizeChanged)

dispose

public void dispose()
Overrides:
dispose in class BackGroundGraphic