Class DownloadActivityView.ValueSourceImpl
java.lang.Object
com.biglybt.ui.swt.views.DownloadActivityView.ValueSourceImpl
- All Implemented Interfaces:
ValueSource
- Enclosing class:
DownloadActivityView
private abstract static class DownloadActivityView.ValueSourceImpl
extends Object
implements ValueSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate org.eclipse.swt.graphics.Color[]private intprivate booleanprivate booleanprivate booleanprivate Stringprivate booleanFields inherited from interface ValueSource
STYLE_BLOB, STYLE_BOLD, STYLE_DOTTED, STYLE_DOWN, STYLE_HIDE_LABEL, STYLE_INVISIBLE, STYLE_NAMED, STYLE_NONE, STYLE_UP -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateValueSourceImpl(String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, boolean _is_up, boolean _trimmable, boolean _is_dotted) privateValueSourceImpl(String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, int _base_style, boolean _trimmable, boolean _is_dotted) -
Method Summary
Modifier and TypeMethodDescriptionintgetAlpha()org.eclipse.swt.graphics.ColorgetName()intgetStyle()booleanprivate voidsetHover(boolean h) private voidsetVisible(boolean visible) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ValueSource
getValue
-
Field Details
-
name
-
index
private int index -
colours
private org.eclipse.swt.graphics.Color[] colours -
base_style
private int base_style -
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) -
ValueSourceImpl
private ValueSourceImpl(String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, int _base_style, boolean _trimmable, boolean _is_dotted)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceValueSource
-
getLineColor
public org.eclipse.swt.graphics.Color getLineColor()- Specified by:
getLineColorin interfaceValueSource
-
isTrimmable
public boolean isTrimmable()- Specified by:
isTrimmablein interfaceValueSource
-
setHover
private void setHover(boolean h) -
setVisible
private void setVisible(boolean visible) -
getStyle
public int getStyle()- Specified by:
getStylein interfaceValueSource
-
getAlpha
public int getAlpha()- Specified by:
getAlphain interfaceValueSource
-