com.aelitis.azureus.ui.swt.skin
Class SWTSkinObjectSlider

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
      extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectSlider
All Implemented Interfaces:
SWTSkinObject, EventListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.MouseMoveListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ObfusticateImage, PluginUISWTSkinObject

public class SWTSkinObjectSlider
extends SWTSkinObjectBasic
implements org.eclipse.swt.events.PaintListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.MouseMoveListener

Author:
TuxPaper

Nested Class Summary
static class SWTSkinObjectSlider.SWTSkinListenerSliderSelection
           
 
Field Summary
 
Fields inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
bgColor, BORDER_GRADIENT, BORDER_ROUNDED, BORDER_ROUNDED_FILL, control, customTooltipID, debug, listeners_mon, painter, parent, properties, sConfigID, sID, skin, suffixes, type
 
Constructor Summary
SWTSkinObjectSlider(SWTSkin skin, SWTSkinProperties skinProperties, String sID, String sConfigID, String[] typeParams, SWTSkinObject parent)
           
 
Method Summary
 void addListener(SWTSkinObjectSlider.SWTSkinListenerSliderSelection listener)
           
 boolean getMouseMoveAdjusts()
           
 double getPercent()
           
 boolean isDisabled()
           
 void mouseDoubleClick(org.eclipse.swt.events.MouseEvent e)
           
 void mouseDown(org.eclipse.swt.events.MouseEvent e)
           
 void mouseMove(org.eclipse.swt.events.MouseEvent e)
           
 void mouseUp(org.eclipse.swt.events.MouseEvent e)
           
 void paintControl(org.eclipse.swt.graphics.GC gc)
           
 void setDisabled(boolean disabled)
           
 void setMouseMoveAdjusts(boolean mouseMoveAdjusts)
           
 void setPercent(double percent)
           
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
addListener, dispose, equals, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, hashCode, isAlwaysHookPaintListener, isDebug, isDisposed, isVisible, layoutComplete, obfusticatedImage, paintControl, relayout, removeListener, setAlwaysHookPaintListener, setBackground, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, setVisible, switchSuffix, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.swt.events.PaintListener
paintControl
 

Constructor Detail

SWTSkinObjectSlider

public SWTSkinObjectSlider(SWTSkin skin,
                           SWTSkinProperties skinProperties,
                           String sID,
                           String sConfigID,
                           String[] typeParams,
                           SWTSkinObject parent)
Method Detail

paintControl

public void paintControl(org.eclipse.swt.graphics.GC gc)
Overrides:
paintControl in class SWTSkinObjectBasic

getPercent

public double getPercent()

setPercent

public void setPercent(double percent)

mouseDoubleClick

public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseDoubleClick in interface org.eclipse.swt.events.MouseListener

mouseDown

public void mouseDown(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseDown in interface org.eclipse.swt.events.MouseListener

mouseUp

public void mouseUp(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseUp in interface org.eclipse.swt.events.MouseListener

mouseMove

public void mouseMove(org.eclipse.swt.events.MouseEvent e)
Specified by:
mouseMove in interface org.eclipse.swt.events.MouseMoveListener

addListener

public void addListener(SWTSkinObjectSlider.SWTSkinListenerSliderSelection listener)

getMouseMoveAdjusts

public boolean getMouseMoveAdjusts()

setMouseMoveAdjusts

public void setMouseMoveAdjusts(boolean mouseMoveAdjusts)

isDisabled

public boolean isDisabled()

setDisabled

public void setDisabled(boolean disabled)