Package com.biglybt.ui.swt.views.stats
Class TagStatsView.ValueSourceImpl
java.lang.Object
com.biglybt.ui.swt.views.stats.TagStatsView.ValueSourceImpl
- All Implemented Interfaces:
ValueSource
- Enclosing class:
TagStatsView
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.eclipse.swt.graphics.Color[]
(package private) int
private boolean
private boolean
(package private) boolean
(package private) String
(package private) TagFeatureRateLimit
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
(TagFeatureRateLimit _tag, String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, boolean _is_up) -
Method Summary
-
Field Details
-
tag
-
name
String name -
index
int index -
colours
org.eclipse.swt.graphics.Color[] colours -
is_up
boolean is_up -
is_hover
private boolean is_hover -
is_invisible
private boolean is_invisible
-
-
Constructor Details
-
ValueSourceImpl
private ValueSourceImpl(TagFeatureRateLimit _tag, String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, boolean _is_up)
-
-
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) -
getAlpha
public int getAlpha()- Specified by:
getAlpha
in interfaceValueSource
-
setVisible
private void setVisible(boolean visible) -
getStyle
public int getStyle()- Specified by:
getStyle
in interfaceValueSource
-
getValue
public int getValue()- Specified by:
getValue
in interfaceValueSource
-