asyncQueue, children, renderNodeeffects, styleId, visibility, zIndex| Constructor and Description |
|---|
ScrollBox()
Constructor.
|
ScrollBox(java.lang.String id)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach(ParentRenderNode<?,?> parentRenderNode)
Attaches a
RenderNode for this element to a parent
RenderNode |
float |
getMaxHeight()
Returns the maximum height for this
ScrollBox |
float |
getMinHeight()
Returns the minimum height for this
ScrollBox |
float |
getScrollFactor()
Returns how much this
ScrollBox scrolls when the up/down buttons
are clicked (expressed as a % between 0.0 and 1.0) |
void |
setMaxHeight(float maxHeight)
Sets the maximum height for this
ScrollBox |
void |
setMinHeight(float minHeight)
Sets the minimum height for this
ScrollBox |
void |
setScrollFactor(float scrollFactor)
Sets how much this
ScrollBox scrolls when the up/down buttons
are clicked |
add, add, addAsync, detach, getElementById, getLayout, remove, remove, removeAll, setLayout, setStyleId, setVisibility, setZIndex, syncWithRenderNode, withElements, withElementsaddEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeEffectListener, removeHoverListener, setDebugEnabledpublic ScrollBox()
ScrollBoxpublic ScrollBox(java.lang.String id)
id - The unique ID for this ScrollBoxpublic void attach(ParentRenderNode<?,?> parentRenderNode)
UiElementRenderNode for this element to a parent
RenderNodeattach in class ColumnparentRenderNode - The parent RenderNode to attach topublic float getMinHeight()
ScrollBoxFloat.MIN_VALUE by defaultpublic void setMinHeight(float minHeight)
ScrollBoxminHeight - The minimum height to setpublic float getMaxHeight()
ScrollBoxFloat.MAX_VALUE by defaultpublic void setMaxHeight(float maxHeight)
ScrollBoxmaxHeight - The maximum height to setpublic float getScrollFactor()
ScrollBox scrolls when the up/down buttons
are clicked (expressed as a % between 0.0 and 1.0)DEFAULT_SCROLL_FACTOR by defaultpublic void setScrollFactor(float scrollFactor)
ScrollBox scrolls when the up/down buttons
are clickedscrollFactor - A % between 0.0 and 1.0