Package org.zkoss.stateless.action.data
Class ScrollData
java.lang.Object
org.zkoss.stateless.action.data.ScrollData
- All Implemented Interfaces:
Serializable,ActionData
- Direct Known Subclasses:
ScrollExtData
Represents an action caused by that user is scrolling or
has scrolled at the client.
- Author:
- jumperchen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetPos()Returns the position.final doubleReturns the position.booleanReturn true if the scroll position is outside of boundary on tablet/mobile device.
-
Constructor Details
-
ScrollData
-
-
Method Details
-
getPos
public final int getPos()Returns the position. -
getPosInDouble
public final double getPosInDouble()Returns the position. -
isOutOfBound
public boolean isOutOfBound()Return true if the scroll position is outside of boundary on tablet/mobile device.
-