Class ScrollData

  • All Implemented Interfaces:
    java.io.Serializable, ActionData
    Direct Known Subclasses:
    ScrollExtData

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

      Constructors 
      Modifier Constructor Description
      protected ScrollData​(java.util.Map data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPos()
      Returns the position.
      double getPosInDouble()
      Returns the position.
      boolean isOutOfBound()
      Return true if the scroll position is outside of boundary on tablet/mobile device.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScrollData

        protected ScrollData​(java.util.Map data)
    • Method Detail

      • 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.