Package org.opencms.ui.shared.components
Class CmsScrollPositionCssState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.AbstractComponentState
-
- org.opencms.ui.shared.components.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
-
-
Constructor Summary
Constructors Constructor Description CmsScrollPositionCssState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBarrierMargin()
Returns the barrier margin.int
getScrollBarrier()
Returns the scroll barrier.java.lang.String
getStyleName()
Sets the style name.void
setBarrierMargin(int barrierMargin)
Sets the barrier margin.void
setScrollBarrier(int scrollBarrier)
Sets the scroll barrier.void
setStyleName(java.lang.String styleName)
Sets the style name.
-
-
-
Constructor Detail
-
CmsScrollPositionCssState
public CmsScrollPositionCssState()
-
-
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
-
-