public class LabelRenderNode extends RenderNode<Label,LabelStyleRule>
RenderNode implementation for Label| Modifier and Type | Field and Description |
|---|---|
protected com.badlogic.gdx.graphics.g2d.BitmapFontCache |
bitmapFontCache |
protected static com.badlogic.gdx.graphics.g2d.BitmapFont |
DEFAULT_FONT |
protected static com.badlogic.gdx.graphics.g2d.GlyphLayout |
GLYPH_LAYOUT |
protected NullTextAnimation |
nullAnimation |
effects, element, hiddenByLayoutRule, initialLayoutOccurred, 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) |
void |
interpolate(float alpha) |
protected void |
renderElement(Graphics g) |
void |
update(UiContainerRenderTree uiContainer,
float delta) |
void |
updateBitmapFontCache() |
applyEffect, beginHover, contains, 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, isDirty, isIncludedInLayout, isIncludedInRender, layout, mouseDown, mouseMoved, mouseScrolled, mouseUp, render, setDirty, setRelativeX, setRelativeY, setState, toStringprotected static final com.badlogic.gdx.graphics.g2d.GlyphLayout GLYPH_LAYOUT
protected static final com.badlogic.gdx.graphics.g2d.BitmapFont DEFAULT_FONT
protected final NullTextAnimation nullAnimation
protected com.badlogic.gdx.graphics.g2d.BitmapFontCache bitmapFontCache
public LabelRenderNode(ParentRenderNode<?,?> parent, Label element)
public void update(UiContainerRenderTree uiContainer, float delta)
update in class RenderNode<Label,LabelStyleRule>public void interpolate(float alpha)
interpolate in class RenderNode<Label,LabelStyleRule>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()