API Reference 0.3.24dart_web_toolkit_eventHasHorizontalScrolling

HasHorizontalScrolling abstract class

Implemented by widgets that support horizontal scrolling.

abstract class HasHorizontalScrolling {

 /**
  * Gets the horizontal scroll position.
  *
  * @return the horizontal scroll position, in pixels
  */
 int getHorizontalScrollPosition();

 /**
  * Get the maximum position of horizontal scrolling. This is usually the
  * <code>scrollWidth - clientWidth</code>.
  *
  * @return the maximum horizontal scroll position
  */
 int getMaximumHorizontalScrollPosition();

 /**
  * Get the minimum position of horizontal scrolling.
  *
  * @return the minimum horizontal scroll position
  */
 int getMinimumHorizontalScrollPosition();

 /**
  * Sets the horizontal scroll position.
  *
  * @param position the new horizontal scroll position, in pixels
  */
 void setHorizontalScrollPosition(int position);
}

Subclasses

HasScrolling

Methods

abstract int getHorizontalScrollPosition() #

Gets the horizontal scroll position.

@return the horizontal scroll position, in pixels

abstract int getMaximumHorizontalScrollPosition() #

Get the maximum position of horizontal scrolling. This is usually the <code>scrollWidth - clientWidth</code>.

@return the maximum horizontal scroll position

abstract int getMinimumHorizontalScrollPosition() #

Get the minimum position of horizontal scrolling.

@return the minimum horizontal scroll position

abstract void setHorizontalScrollPosition(int position) #

Sets the horizontal scroll position.

@param position the new horizontal scroll position, in pixels