Package com.biglybt.ui.swt.views.stats
Class TransferStatsView.ValueSourceImpl
java.lang.Object
com.biglybt.ui.swt.views.stats.TransferStatsView.ValueSourceImpl
- All Implemented Interfaces:
ValueSource
- Enclosing class:
- TransferStatsView
private abstract static class TransferStatsView.ValueSourceImpl
extends Object
implements ValueSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.graphics.Color[]
private int
private boolean
private boolean
private boolean
private boolean
private String
private boolean
Fields inherited from interface com.biglybt.ui.swt.components.graphics.ValueSource
STYLE_BLOB, STYLE_BOLD, STYLE_DOTTED, STYLE_DOWN, STYLE_HIDE_LABEL, STYLE_INVISIBLE, STYLE_NAMED, STYLE_NONE, STYLE_UP
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ValueSourceImpl
(String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, boolean _is_up, boolean _trimmable, boolean _is_dotted) -
Method Summary
Modifier and TypeMethodDescriptionint
getAlpha()
org.eclipse.swt.graphics.Color
getName()
int
getStyle()
boolean
private void
setHover
(boolean h) private void
setVisible
(boolean visible) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.components.graphics.ValueSource
getValue
-
Field Details
-
name
-
index
private int index -
colours
private org.eclipse.swt.graphics.Color[] colours -
is_up
private boolean is_up -
trimmable
private boolean trimmable -
is_hover
private boolean is_hover -
is_invisible
private boolean is_invisible -
is_dotted
private boolean is_dotted
-
-
Constructor Details
-
ValueSourceImpl
private ValueSourceImpl(String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, boolean _is_up, boolean _trimmable, boolean _is_dotted)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceValueSource
-
getLineColor
public org.eclipse.swt.graphics.Color getLineColor()- Specified by:
getLineColor
in interfaceValueSource
-
isTrimmable
public boolean isTrimmable()- Specified by:
isTrimmable
in interfaceValueSource
-
setHover
private void setHover(boolean h) -
setVisible
private void setVisible(boolean visible) -
getStyle
public int getStyle()- Specified by:
getStyle
in interfaceValueSource
-
getAlpha
public int getAlpha()- Specified by:
getAlpha
in interfaceValueSource
-