Package com.biglybt.ui.swt.devices
Class DeviceManagerUI.ValueSourceImpl
- java.lang.Object
-
- com.biglybt.ui.swt.devices.DeviceManagerUI.ValueSourceImpl
-
- All Implemented Interfaces:
ValueSource
- Enclosing class:
- DeviceManagerUI
private abstract static class DeviceManagerUI.ValueSourceImpl extends java.lang.Object implements ValueSource
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.graphics.Color[]
colours
private int
index
private boolean
is_dotted
private boolean
is_hover
private boolean
is_invisible
private boolean
is_up
private java.lang.String
name
private boolean
trimmable
-
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
Constructors Modifier Constructor Description private
ValueSourceImpl(java.lang.String _name, int _index, org.eclipse.swt.graphics.Color[] _colours, boolean _is_up, boolean _trimmable, boolean _is_dotted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAlpha()
org.eclipse.swt.graphics.Color
getLineColor()
java.lang.String
getName()
int
getStyle()
boolean
isTrimmable()
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 Detail
-
name
private java.lang.String 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
-
-
Method Detail
-
getName
public java.lang.String 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
-
-