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 intBACKWARDScroll direction == backward relative to the user's viewport.static intFORWARDScroll direction == forward relative to the user's viewport.static intNONEScroll direction == none relative to the user's viewport.CompositeTablesenderThe CompositeTable that sent this event.intuserScrollDirectionThe 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.StringtoString()
-
Field Details
-
FORWARD
public static final int FORWARDScroll direction == forward relative to the user's viewport.- See Also:
- Constant Field Values
-
NONE
public static final int NONEScroll direction == none relative to the user's viewport.- See Also:
- Constant Field Values
-
BACKWARD
public static final int BACKWARDScroll direction == backward relative to the user's viewport.- See Also:
- Constant Field Values
-
userScrollDirection
public final int userScrollDirectionThe direction that the user scrolled relative to the viewport. One of: {FORWARD, BACKWARD}. -
sender
The CompositeTable that sent this event.
-
-
Constructor Details
-
ScrollEvent
- Parameters:
userScrollDirection-parent-
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-