Class ScrollEvent

java.lang.Object
org.eclipse.nebula.widgets.compositetable.ScrollEvent

public class ScrollEvent
extends java.lang.Object
An event that is fired whenever the user scrolls a CompositeTable control.
Since:
3.2
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int BACKWARD
    Scroll direction == backward relative to the user's viewport.
    static int FORWARD
    Scroll direction == forward relative to the user's viewport.
    static int NONE
    Scroll direction == none relative to the user's viewport.
    CompositeTable sender
    The CompositeTable that sent this event.
    int userScrollDirection
    The direction that the user scrolled relative to the viewport.
  • Constructor Summary

    Constructors 
    Constructor Description
    ScrollEvent​(int userScrollDirection, CompositeTable parent)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • FORWARD

      public static final int FORWARD
      Scroll direction == forward relative to the user's viewport.
      See Also:
      Constant Field Values
    • NONE

      public static final int NONE
      Scroll direction == none relative to the user's viewport.
      See Also:
      Constant Field Values
    • BACKWARD

      public static final int BACKWARD
      Scroll direction == backward relative to the user's viewport.
      See Also:
      Constant Field Values
    • userScrollDirection

      public final int userScrollDirection
      The direction that the user scrolled relative to the viewport. One of: {FORWARD, BACKWARD}.
    • sender

      public final CompositeTable sender
      The CompositeTable that sent this event.
  • Constructor Details

    • ScrollEvent

      public ScrollEvent​(int userScrollDirection, CompositeTable parent)
      Parameters:
      userScrollDirection -
      parent -
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object