Class NullScrollBarProxy

java.lang.Object
org.eclipse.nebula.widgets.grid.internal.NullScrollBarProxy
All Implemented Interfaces:
IScrollBarProxy

public class NullScrollBarProxy
extends java.lang.Object
implements IScrollBarProxy
A null-op scrollbar proxy. Used when the grid is not showing scrollbars.
Since:
2.0.0
  • Constructor Summary

    Constructors 
    Constructor Description
    NullScrollBarProxy()  
  • Method Summary

    Modifier and Type Method Description
    void addListener​(int eventType, org.eclipse.swt.widgets.Listener listener)
    Adds the listener to the collection of listeners who will be notified when an event of the given type occurs.
    void addSelectionListener​(org.eclipse.swt.events.SelectionListener listener)
    int getIncrement()
    int getMaximum()
    int getMinimum()
    int getPageIncrement()
    int getSelection()
    Returns the selection.
    int getThumb()
    boolean getVisible()
    Returns the scrollbar's visibility.
    void handleMouseWheel​(org.eclipse.swt.widgets.Event e)
    void removeListener​(int eventType, org.eclipse.swt.widgets.Listener listener)
    Removes the listener from the collection of listeners who will be notified when an event of the given type occurs.
    void removeSelectionListener​(org.eclipse.swt.events.SelectionListener listener)
    void setIncrement​(int increment)
    void setMaximum​(int max)
    void setMinimum​(int min)
    void setPageIncrement​(int page)
    void setSelection​(int selection)
    Sets the selection.
    void setThumb​(int thumb)
    void setValues​(int selection, int min, int max, int thumb, int increment, int pageIncrement)
    Sets the receiver's selection, minimum value, maximum value, thumb, increment and page increment all at once.
    void setVisible​(boolean visible)
    Sets the scrollbar's visibility.

    Methods inherited from class java.lang.Object

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