public class ScrollBoxRenderNode extends ParentRenderNode<ScrollBox,ScrollBoxStyleRule> implements ActionableRenderNode
RenderNode implementation for ScrollBoxchildDirty, flexDirection, layers, layoutRuleseteffects, element, hiddenByLayoutRule, initialLayoutOccurred, innerArea, outerArea, parent, preferredContentHeight, preferredContentWidth, style, targetOuterArea, xOffset, yOffset, zIndex| Constructor and Description |
|---|
ScrollBoxRenderNode(ParentRenderNode<?,?> parent,
ScrollBox row) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginAction() |
protected float |
determinePreferredContentHeight(LayoutState layoutState) |
protected ScrollBoxStyleRule |
determineStyleRule(LayoutState layoutState) |
void |
endAction() |
float |
getPreferredContentWidth() |
float |
getPreferredInnerWidth() |
float |
getScrollThumbPosition() |
void |
interpolate(float alpha) |
ActionableRenderNode |
mouseDown(int screenX,
int screenY,
int pointer,
int button) |
boolean |
mouseMoved(int screenX,
int screenY) |
boolean |
mouseScrolled(int screenX,
int screenY,
float amount) |
void |
mouseUp(int screenX,
int screenY,
int pointer,
int button) |
boolean |
offerScrollTo(ScrollTo scrollTo) |
protected void |
renderElement(Graphics g) |
void |
setScrollThumbPosition(float position) |
void |
update(UiContainerRenderTree uiContainer,
float delta) |
addChild, clearChildren, determinePreferredContentWidth, determineXOffset, determineYOffset, getElementById, getFlexDirection, getLayoutRuleset, isDirty, layout, removeChild, setChildDirty, setDirty, setStateapplyEffect, beginHover, contains, endHover, getContentRenderHeight, getContentRenderWidth, getContentRenderX, getContentRenderY, getElement, getId, getInnerHeight, getInnerRenderHeight, getInnerRenderWidth, getInnerRenderX, getInnerRenderY, getInnerWidth, getInnerX, getInnerY, getOuterHeight, getOuterRenderHeight, getOuterRenderWidth, getOuterRenderX, getOuterRenderY, getOuterWidth, getOuterX, getOuterY, getParent, getPreferredContentHeight, getPreferredInnerHeight, getPreferredOuterHeight, getPreferredOuterWidth, getRelativeX, getRelativeY, getState, getStyle, getXOffset, getYOffset, getZIndex, isIncludedInLayout, isIncludedInRender, render, setRelativeX, setRelativeY, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetStatebeginHover, contains, endHover, getElement, getIdpublic ScrollBoxRenderNode(ParentRenderNode<?,?> parent, ScrollBox row)
public void update(UiContainerRenderTree uiContainer, float delta)
update in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>public void interpolate(float alpha)
interpolate in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>protected void renderElement(Graphics g)
renderElement in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>public boolean mouseMoved(int screenX,
int screenY)
mouseMoved in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>public ActionableRenderNode mouseDown(int screenX, int screenY, int pointer, int button)
mouseDown in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>public void mouseUp(int screenX,
int screenY,
int pointer,
int button)
mouseUp in interface ActionableRenderNodemouseUp in class RenderNode<ScrollBox,ScrollBoxStyleRule>public boolean mouseScrolled(int screenX,
int screenY,
float amount)
mouseScrolled in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight in class ParentRenderNode<ScrollBox,ScrollBoxStyleRule>public void beginAction()
beginAction in interface ActionableRenderNodepublic void endAction()
endAction in interface ActionableRenderNodeprotected ScrollBoxStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule in class RenderNode<ScrollBox,ScrollBoxStyleRule>public float getScrollThumbPosition()
public void setScrollThumbPosition(float position)
public boolean offerScrollTo(ScrollTo scrollTo)
public float getPreferredContentWidth()
getPreferredContentWidth in class RenderNode<ScrollBox,ScrollBoxStyleRule>public float getPreferredInnerWidth()
getPreferredInnerWidth in class RenderNode<ScrollBox,ScrollBoxStyleRule>