public class LabelRenderNode extends RenderNode<Label,LabelStyleRule>
RenderNode implementation for Label| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bitmapCacheReset |
protected GameFont |
font |
protected GameFontCache |
fontCache |
protected NullTextAnimation |
nullAnimation |
protected Color |
white |
effects, element, hiddenByLayoutRule, initialLayoutOccurred, initialUpdateOccurred, innerArea, outerArea, parent, preferredContentHeight, preferredContentWidth, rootNode, style, targetOuterArea, xOffset, yOffset, zIndex| Constructor and Description |
|---|
LabelRenderNode(ParentRenderNode<?,?> parent,
Label element) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
determinePreferredContentHeight(LayoutState layoutState) |
protected float |
determinePreferredContentWidth(LayoutState layoutState) |
protected LabelStyleRule |
determineStyleRule(LayoutState layoutState) |
protected float |
determineXOffset(LayoutState layoutState) |
protected float |
determineYOffset(LayoutState layoutState) |
protected void |
renderBackground(Graphics g) |
protected void |
renderElement(Graphics g) |
void |
update(UiContainerRenderTree uiContainer,
float delta) |
void |
updateBitmapFontCache() |
applyEffect, beginFakeHover, beginHover, clearDirty, contains, endFakeHover, endHover, getContentRenderHeight, getContentRenderWidth, getContentRenderX, getContentRenderY, getElement, getElementById, 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, isChildOfUiContainer, isDirty, isIncludedInLayout, isIncludedInRender, isInitialLayoutOccurred, isInitialUpdateOccurred, layout, mouseDown, mouseMoved, mouseScrolled, mouseUp, render, setDirty, setRelativeX, setRelativeY, setState, toStringprotected final NullTextAnimation nullAnimation
protected GameFont font
protected GameFontCache fontCache
protected final Color white
protected boolean bitmapCacheReset
public LabelRenderNode(ParentRenderNode<?,?> parent, Label element)
public void update(UiContainerRenderTree uiContainer, float delta)
update in class RenderNode<Label,LabelStyleRule>protected void renderBackground(Graphics g)
protected void renderElement(Graphics g)
renderElement in class RenderNode<Label,LabelStyleRule>protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth in class RenderNode<Label,LabelStyleRule>protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight in class RenderNode<Label,LabelStyleRule>protected float determineXOffset(LayoutState layoutState)
determineXOffset in class RenderNode<Label,LabelStyleRule>protected float determineYOffset(LayoutState layoutState)
determineYOffset in class RenderNode<Label,LabelStyleRule>protected LabelStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule in class RenderNode<Label,LabelStyleRule>public void updateBitmapFontCache()