Class ScrollingSmoother

java.lang.Object
org.eclipse.nebula.cwt.animation.ScrollingSmoother

public class ScrollingSmoother
extends java.lang.Object

This class replace the default scrolling behavior by an animation effect.

Compatible with :

  • Shell
  • StyledText
  • Canvas
  • Gallery
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) org.eclipse.swt.events.SelectionListener cancelEffectIfUserSelection  
    (package private) org.eclipse.swt.widgets.Scrollable component  
    (package private) org.eclipse.swt.widgets.ScrollBar horizontalScrollBar  
    (package private) MoveScrollBar me  
    (package private) org.eclipse.swt.widgets.Listener mouseWheelListener  
    (package private) IMovement movement  
    (package private) org.eclipse.swt.widgets.ScrollBar verticalScrollBar  
  • Constructor Summary

    Constructors 
    Constructor Description
    ScrollingSmoother​(org.eclipse.swt.widgets.Scrollable c2, IMovement movement)  
  • Method Summary

    Modifier and Type Method Description
    protected org.eclipse.swt.widgets.ScrollBar getScrollbar​(org.eclipse.swt.widgets.Event event)  
    void smoothControl​(boolean enable)
    Enable or disable scrolling efeect.
    protected void startEffect​(MoveScrollBar moveScrollBarEffect)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait