Class CmsScrollPositionCssState

  • All Implemented Interfaces:
    java.io.Serializable

    public class CmsScrollPositionCssState
    extends com.vaadin.shared.AbstractComponentState
    The scroll position CSS shared state.

    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.vaadin.shared.AbstractComponentState

        caption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, width
      • Fields inherited from class com.vaadin.shared.communication.SharedState

        enabled, registeredEventListeners, resources
    • Method Detail

      • getBarrierMargin

        public int getBarrierMargin()
        Returns the barrier margin.

        Returns:
        the barrier margin
      • getScrollBarrier

        public int getScrollBarrier()
        Returns the scroll barrier.

        Returns:
        the scroll barrier
      • getStyleName

        public java.lang.String getStyleName()
        Sets the style name.

        Returns:
        the style name
      • setBarrierMargin

        public void setBarrierMargin​(int barrierMargin)
        Sets the barrier margin.

        Parameters:
        barrierMargin - the barrier margin
      • setScrollBarrier

        public void setScrollBarrier​(int scrollBarrier)
        Sets the scroll barrier.

        Parameters:
        scrollBarrier - the scroll barrier
      • setStyleName

        public void setStyleName​(java.lang.String styleName)
        Sets the style name.

        Parameters:
        styleName - the style name