Klasse GridScroller.ScrollPosition
java.lang.Object
org.vaadin.addons.stefan.gridscroller.GridScroller.ScrollPosition
- Umschließende Klasse:
GridScroller
Container class providing information about scroll positions in a two dimensional component.
- Autor:
- Stefan Uebe
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungdoublegetLeft()Returns the left / horizontal / x scroll position in pixels (starting from the left border of the scrollable component).doublegetTop()Returns the top / vertical / y scroll position in pixels (starting from the top border of the scrollable component).
-
Konstruktordetails
-
ScrollPosition
public ScrollPosition(double left, double top)
-
-
Methodendetails
-
getLeft
public double getLeft()Returns the left / horizontal / x scroll position in pixels (starting from the left border of the scrollable component).- Gibt zurück:
- left scroll position
-
getTop
public double getTop()Returns the top / vertical / y scroll position in pixels (starting from the top border of the scrollable component).- Gibt zurück:
- top scroll position
-