Class ScrollData

java.lang.Object
org.zkoss.stateless.action.data.ScrollData
All Implemented Interfaces:
Serializable, ActionData
Direct Known Subclasses:
ScrollExtData

public class ScrollData extends Object implements ActionData
Represents an action caused by that user is scrolling or has scrolled at the client.
Author:
jumperchen
See Also:
  • Constructor Details

    • ScrollData

      protected ScrollData(Map data)
  • 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.