public class UiContainerRenderTree extends ParentRenderNode<UiContainer,ParentStyleRule>
RenderNode
implementation for UiContainer
cachedClip, childDirty, flexDirection, horizontalLayoutRuleset, layers, verticalLayoutRuleset
effects, element, hiddenByLayoutRule, initialLayoutOccurred, outerArea, parent, preferredContentHeight, preferredContentWidth, rootNode, style, targetOuterArea, xOffset, yOffset, zIndex
Constructor and Description |
---|
UiContainerRenderTree(UiContainer uiContainer,
com.badlogic.gdx.assets.AssetManager assetManager) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(RenderNode<?,?> child) |
void |
addScreenSizeListener(ScreenSizeListener listener) |
protected float |
determinePreferredContentHeight(LayoutState layoutState) |
protected float |
determinePreferredContentWidth(LayoutState layoutState) |
protected ParentStyleRule |
determineStyleRule(LayoutState layoutState) |
protected float |
determineXOffset(LayoutState layoutState) |
protected float |
determineYOffset(LayoutState layoutState) |
RenderNode<?,?> |
getElementById(java.lang.String id) |
ControllerType |
getLastControllerType() |
InputSource |
getLastInputSource() |
float |
getScreenSizeScale() |
boolean |
isDirty() |
void |
layout() |
void |
layout(LayoutState layoutState) |
void |
onResize(int width,
int height) |
void |
removeScreenSizeListener(ScreenSizeListener listener) |
void |
update(float delta) |
clearChildren, getFlexDirection, getHorizontalLayoutRuleset, getVerticalLayoutRuleset, interpolate, mouseDown, mouseMoved, mouseScrolled, removeChild, renderElement, searchTreeForElementById, setChildDirty, setDirty, setImmediateDirty, setState, update
applyEffect, 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, getPreferredContentWidth, getPreferredInnerHeight, getPreferredInnerWidth, getPreferredOuterHeight, getPreferredOuterWidth, getRelativeX, getRelativeY, getState, getStyle, getXOffset, getYOffset, getZIndex, isIncludedInLayout, isIncludedInRender, mouseUp, render, setRelativeX, setRelativeY, toString
public UiContainerRenderTree(UiContainer uiContainer, com.badlogic.gdx.assets.AssetManager assetManager)
public void update(float delta)
public void layout()
public void layout(LayoutState layoutState)
layout
in class ParentRenderNode<UiContainer,ParentStyleRule>
public void addChild(RenderNode<?,?> child)
addChild
in class ParentRenderNode<UiContainer,ParentStyleRule>
public void onResize(int width, int height)
public void addScreenSizeListener(ScreenSizeListener listener)
public void removeScreenSizeListener(ScreenSizeListener listener)
protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth
in class ParentRenderNode<UiContainer,ParentStyleRule>
protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight
in class ParentRenderNode<UiContainer,ParentStyleRule>
protected float determineXOffset(LayoutState layoutState)
determineXOffset
in class ParentRenderNode<UiContainer,ParentStyleRule>
protected float determineYOffset(LayoutState layoutState)
determineYOffset
in class ParentRenderNode<UiContainer,ParentStyleRule>
protected ParentStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule
in class RenderNode<UiContainer,ParentStyleRule>
public RenderNode<?,?> getElementById(java.lang.String id)
getElementById
in class ParentRenderNode<UiContainer,ParentStyleRule>
public boolean isDirty()
isDirty
in class ParentRenderNode<UiContainer,ParentStyleRule>
public InputSource getLastInputSource()
public ControllerType getLastControllerType()
public float getScreenSizeScale()