Class ScaledGraphic
java.lang.Object
com.biglybt.ui.swt.components.graphics.BackGroundGraphic
com.biglybt.ui.swt.components.graphics.ScaledGraphic
- All Implemented Interfaces:
Graphic
- Direct Known Subclasses:
MultiPlotGraphic
,PingGraphic
,SpeedGraphic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.swt.graphics.Image
protected ValueFormater
private int
protected Scale
private int
Fields inherited from class com.biglybt.ui.swt.components.graphics.BackGroundGraphic
bufferBackground, colorBlack, colorGrey, colorWhite, drawCanvas, this_mon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
protected void
drawScale
(boolean sizeChanged) void
setUpdateDividerWidth
(int width) Methods inherited from class com.biglybt.ui.swt.components.graphics.BackGroundGraphic
addMenuItems, drawBackGround, initialize, refresh, setSIIECSensitive
-
Field Details
-
scale
-
formater
-
bufferScale
protected org.eclipse.swt.graphics.Image bufferScale -
lastMax
private int lastMax -
update_divider_width
private int update_divider_width
-
-
Constructor Details
-
ScaledGraphic
-
-
Method Details
-
setUpdateDividerWidth
public void setUpdateDividerWidth(int width) -
drawScale
protected void drawScale(boolean sizeChanged) -
dispose
public void dispose()- Overrides:
dispose
in classBackGroundGraphic
-