|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.widget.escalator.ScrollbarBundle
com.vaadin.client.widget.escalator.ScrollbarBundle.HorizontalScrollbarBundle
public static final class ScrollbarBundle.HorizontalScrollbarBundle
A representation of a single horizontal scrollbar.
ScrollbarBundle.getElement()| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.vaadin.client.widget.escalator.ScrollbarBundle |
|---|
ScrollbarBundle.Direction, ScrollbarBundle.HorizontalScrollbarBundle, ScrollbarBundle.VerticalScrollbarBundle, ScrollbarBundle.VisibilityChangeEvent, ScrollbarBundle.VisibilityHandler |
| Field Summary |
|---|
| Fields inherited from class com.vaadin.client.widget.escalator.ScrollbarBundle |
|---|
isInvisibleScrollbar, root, scrollSizeElement |
| Constructor Summary | |
|---|---|
ScrollbarBundle.HorizontalScrollbarBundle()
|
|
| Method Summary | |
|---|---|
ScrollbarBundle.Direction |
getDirection()
Returns the scroll direction of this scrollbar bundle. |
protected void |
internalForceScrollbar(boolean enable)
|
java.lang.String |
internalGetOffsetSize()
|
protected java.lang.String |
internalGetScrollbarThickness()
Gets the scrollbar's thickness as defined in the DOM. |
protected int |
internalGetScrollPos()
Retrieves the element's scroll position (scrollTop or scrollLeft). |
protected java.lang.String |
internalGetScrollSize()
|
protected void |
internalSetOffsetSize(double px)
Modifies root's dimensions in the axis the scrollbar is
representing. |
protected void |
internalSetScrollbarThickness(double px)
Modifies scrollSizeElement's dimensions in the
opposite axis to what the scrollbar is representing. |
protected void |
internalSetScrollPos(int px)
Modifies the element's scroll position (scrollTop or scrollLeft). |
protected void |
internalSetScrollSize(double px)
Modifies scrollSizeElement's dimensions in
such a way that the scrollbar is able to scroll a certain number of
pixels in the axis it is representing. |
void |
setStylePrimaryName(java.lang.String primaryStyleName)
Sets the primary style name |
| Methods inherited from class com.vaadin.client.widget.escalator.ScrollbarBundle |
|---|
addScrollHandler, addVisibilityHandler, forceScrollbar, getElement, getHandlerManager, getOffsetSize, getScrollbarThickness, getScrollPos, getScrollSize, isLocked, isWorkPending, onLoad, recalculateMaxScrollPos, setLocked, setOffsetSize, setScrollbarThickness, setScrollPos, setScrollPosByDelta, setScrollSize, showsScrollHandle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScrollbarBundle.HorizontalScrollbarBundle()
| Method Detail |
|---|
public void setStylePrimaryName(java.lang.String primaryStyleName)
ScrollbarBundle
setStylePrimaryName in class ScrollbarBundleprimaryStyleName - The primary style name to useprotected void internalSetScrollPos(int px)
ScrollbarBundleNote: 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.
internalSetScrollPos in class ScrollbarBundlepx - integer pixel value to scroll toprotected int internalGetScrollPos()
ScrollbarBundleNote: 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.
internalGetScrollPos in class ScrollbarBundleprotected void internalSetScrollSize(double px)
ScrollbarBundlescrollSizeElement's dimensions in
such a way that the scrollbar is able to scroll a certain number of
pixels in the axis it is representing.
internalSetScrollSize in class ScrollbarBundlepx - the new size of ScrollbarBundle.scrollSizeElement in the dimension
this scrollbar is representingprotected java.lang.String internalGetScrollSize()
internalGetScrollSize in class ScrollbarBundleprotected void internalSetOffsetSize(double px)
ScrollbarBundleroot's dimensions in the axis the scrollbar is
representing.
internalSetOffsetSize in class ScrollbarBundlepx - the new size of ScrollbarBundle.root in the dimension this scrollbar
is representingpublic java.lang.String internalGetOffsetSize()
internalGetOffsetSize in class ScrollbarBundleprotected void internalSetScrollbarThickness(double px)
ScrollbarBundlescrollSizeElement's dimensions in the
opposite axis to what the scrollbar is representing.
internalSetScrollbarThickness in class ScrollbarBundlepx - the dimension that ScrollbarBundle.scrollSizeElement should take in
the opposite axis to what the scrollbar is representingprotected java.lang.String internalGetScrollbarThickness()
ScrollbarBundle
internalGetScrollbarThickness in class ScrollbarBundleprotected void internalForceScrollbar(boolean enable)
internalForceScrollbar in class ScrollbarBundlepublic ScrollbarBundle.Direction getDirection()
ScrollbarBundle
getDirection in class ScrollbarBundle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||