public class ProgressBarRenderNode extends RenderNode<ProgressBar,ProgressBarStyleRule>
RenderNode
implementation for ProgressBar
Modifier and Type | Field and Description |
---|---|
protected LayoutRuleset |
horizontalLayoutRuleset |
protected LayoutRuleset |
verticalLayoutRuleset |
effects, element, hiddenByLayoutRule, initialLayoutOccurred, outerArea, parent, preferredContentHeight, preferredContentWidth, rootNode, style, targetOuterArea, xOffset, yOffset, zIndex
Constructor and Description |
---|
ProgressBarRenderNode(ParentRenderNode<?,?> parent,
ProgressBar element) |
Modifier and Type | Method and Description |
---|---|
protected float |
determinePreferredContentHeight(LayoutState layoutState) |
protected float |
determinePreferredContentWidth(LayoutState layoutState) |
protected ProgressBarStyleRule |
determineStyleRule(LayoutState layoutState) |
protected float |
determineXOffset(LayoutState layoutState) |
protected float |
determineYOffset(LayoutState layoutState) |
void |
layout(LayoutState layoutState) |
protected void |
renderElement(Graphics g) |
void |
updateFillWidth() |
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, interpolate, isDirty, isIncludedInLayout, isIncludedInRender, mouseDown, mouseMoved, mouseScrolled, mouseUp, render, setDirty, setRelativeX, setRelativeY, setState, toString, update
protected LayoutRuleset horizontalLayoutRuleset
protected LayoutRuleset verticalLayoutRuleset
public ProgressBarRenderNode(ParentRenderNode<?,?> parent, ProgressBar element)
public void layout(LayoutState layoutState)
layout
in class RenderNode<ProgressBar,ProgressBarStyleRule>
protected void renderElement(Graphics g)
renderElement
in class RenderNode<ProgressBar,ProgressBarStyleRule>
protected ProgressBarStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule
in class RenderNode<ProgressBar,ProgressBarStyleRule>
protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth
in class RenderNode<ProgressBar,ProgressBarStyleRule>
protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight
in class RenderNode<ProgressBar,ProgressBarStyleRule>
protected float determineXOffset(LayoutState layoutState)
determineXOffset
in class RenderNode<ProgressBar,ProgressBarStyleRule>
protected float determineYOffset(LayoutState layoutState)
determineYOffset
in class RenderNode<ProgressBar,ProgressBarStyleRule>
public void updateFillWidth()