You're viewing an older version of Framework JavaDoc. Please see version 7.7.47 for the latest.
com.vaadin.client.widget.escalator.

Class ScrollbarBundle.HorizontalScrollbarBundle

    • Constructor Detail

      • HorizontalScrollbarBundle

        public HorizontalScrollbarBundle()
    • Method Detail

      • setStylePrimaryName

        public void setStylePrimaryName​(String primaryStyleName)

        Description copied from class: ScrollbarBundle

        Sets the primary style name

        Overrides:

        setStylePrimaryName in class ScrollbarBundle

        Parameters:

        primaryStyleName - The primary style name to use

      • internalSetScrollPos

        protected void internalSetScrollPos​(int px)

        Description copied from class: ScrollbarBundle

        Modifies the element's scroll position (scrollTop or scrollLeft).

        Note: The parameter here is a type of integer (instead of a double) by design. The browsers internally convert all double values into an integer value. To make this fact explicit, this API has chosen to force integers already at this level.

        Specified by:

        internalSetScrollPos in class ScrollbarBundle

        Parameters:

        px - integer pixel value to scroll to

      • internalGetScrollPos

        protected int internalGetScrollPos()

        Description copied from class: ScrollbarBundle

        Retrieves the element's scroll position (scrollTop or scrollLeft).

        Note: The parameter here is a type of integer (instead of a double) by design. The browsers internally convert all double values into an integer value. To make this fact explicit, this API has chosen to force integers already at this level.

        Specified by:

        internalGetScrollPos in class ScrollbarBundle

        Returns:

        integer pixel value of the scroll position