com.extjs.gxt.ui.client.util
Class Scroll

java.lang.Object
  extended by com.extjs.gxt.ui.client.util.Scroll

public class Scroll
extends java.lang.Object

Represents the left and top scroll values.


Constructor Summary
Scroll(int scrollLeft, int scrollTop)
           
 
Method Summary
 int getScrollLeft()
          Returns the scroll left value.
 int getScrollTop()
          Returns the scroll top value.
 void setScrollLeft(int scrollLeft)
          Sets the scroll left value.
 void setScrollTop(int scrollTop)
          Sets the scroll top value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scroll

public Scroll(int scrollLeft,
              int scrollTop)
Method Detail

getScrollLeft

public int getScrollLeft()
Returns the scroll left value.

Returns:
the scroll left value

getScrollTop

public int getScrollTop()
Returns the scroll top value.

Returns:
the scroll top value

setScrollLeft

public void setScrollLeft(int scrollLeft)
Sets the scroll left value.

Parameters:
scrollLeft - the scroll left value

setScrollTop

public void setScrollTop(int scrollTop)
Sets the scroll top value.

Parameters:
scrollTop - the scroll top value