Class XferStatsPanel
java.lang.Object
com.biglybt.ui.swt.views.stats.BasePanel
com.biglybt.ui.swt.views.stats.XferStatsPanel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from class BasePanel
BasePanel.Scale -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate static final intprivate booleanprivate booleanprivate org.eclipse.swt.widgets.Canvasprivate final Stringprivate org.eclipse.swt.widgets.Display(package private) int(package private) intprivate BufferedLabelprivate XferStatsPanel.Nodeprivate org.eclipse.swt.graphics.Imageprivate booleanprivate final booleanprivate booleanprivate longprivate BasePanel.Scale(package private) intprivate float -
Constructor Summary
ConstructorsConstructorDescriptionXferStatsPanel(org.eclipse.swt.widgets.Composite composite, boolean _is_global) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()intgetAlpha()private StringgetBPSForDisplay(long bytes) voidvoidrefresh()voidvoidvoidsetAlpha(int alpha) voidsetAutoAlpha(boolean autoAlpha) voidsetLayoutData(Object data)
-
Field Details
-
ALPHA_FOCUS
private static final int ALPHA_FOCUS- See Also:
-
ALPHA_NOFOCUS
private static final int ALPHA_NOFOCUS- See Also:
-
is_global
private final boolean is_global -
config_key
-
display
private org.eclipse.swt.widgets.Display display -
header_label
-
canvas
private org.eclipse.swt.widgets.Canvas canvas -
scale
-
button1_selected
private boolean button1_selected -
img
private org.eclipse.swt.graphics.Image img -
alpha
private int alpha -
autoAlpha
private boolean autoAlpha -
initialised
private boolean initialised -
my_stats
-
latest_sequence
private long latest_sequence -
flag_width
int flag_width -
flag_height
int flag_height -
text_height
int text_height -
currentPositions
-
hover_node
-
tp_ratio
private float tp_ratio -
isRefreshQueued
private boolean isRefreshQueued
-
-
Constructor Details
-
XferStatsPanel
public XferStatsPanel(org.eclipse.swt.widgets.Composite composite, boolean _is_global)
-
-
Method Details
-
setLayoutData
-
init
-
getBPSForDisplay
-
refreshView
public void refreshView() -
requestRefresh
public void requestRefresh() -
refresh
public void refresh() -
getAlpha
public int getAlpha() -
setAlpha
public void setAlpha(int alpha) -
setAutoAlpha
public void setAutoAlpha(boolean autoAlpha) -
delete
public void delete()
-