public class SliderRenderNode extends RenderNode<Slider,SliderStyleRule> implements ActionableRenderNode
effects, element, hiddenByLayoutRule, initialLayoutOccurred, outerArea, parent, preferredContentHeight, preferredContentWidth, rootNode, style, targetOuterArea, xOffset, yOffset, zIndex
Constructor and Description |
---|
SliderRenderNode(ParentRenderNode<?,?> parent,
Slider element) |
Modifier and Type | Method and Description |
---|---|
void |
beginAction(EventTrigger eventTrigger,
EventTriggerParams eventTriggerParams) |
protected float |
determinePreferredContentHeight(LayoutState layoutState) |
protected float |
determinePreferredContentWidth(LayoutState layoutState) |
protected SliderStyleRule |
determineStyleRule(LayoutState layoutState) |
protected float |
determineXOffset(LayoutState layoutState) |
protected float |
determineYOffset(LayoutState layoutState) |
void |
endAction(EventTrigger eventTrigger,
EventTriggerParams eventTriggerParams) |
ActionableRenderNode |
mouseDown(int screenX,
int screenY,
int pointer,
int button) |
boolean |
mouseMoved(int screenX,
int screenY) |
void |
mouseUp(int screenX,
int screenY,
int pointer,
int button) |
protected void |
renderElement(Graphics g) |
void |
update(UiContainerRenderTree uiContainer,
float delta) |
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, layout, mouseScrolled, render, setDirty, setRelativeX, setRelativeY, setState, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getState, setState
beginHover, contains, endHover, getElement, getId
public SliderRenderNode(ParentRenderNode<?,?> parent, Slider element)
public void update(UiContainerRenderTree uiContainer, float delta)
update
in class RenderNode<Slider,SliderStyleRule>
public boolean mouseMoved(int screenX, int screenY)
mouseMoved
in class RenderNode<Slider,SliderStyleRule>
public ActionableRenderNode mouseDown(int screenX, int screenY, int pointer, int button)
mouseDown
in class RenderNode<Slider,SliderStyleRule>
public void mouseUp(int screenX, int screenY, int pointer, int button)
mouseUp
in interface ActionableRenderNode
mouseUp
in class RenderNode<Slider,SliderStyleRule>
protected void renderElement(Graphics g)
renderElement
in class RenderNode<Slider,SliderStyleRule>
public void beginAction(EventTrigger eventTrigger, EventTriggerParams eventTriggerParams)
beginAction
in interface ActionableRenderNode
public void endAction(EventTrigger eventTrigger, EventTriggerParams eventTriggerParams)
endAction
in interface ActionableRenderNode
protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth
in class RenderNode<Slider,SliderStyleRule>
protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight
in class RenderNode<Slider,SliderStyleRule>
protected SliderStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule
in class RenderNode<Slider,SliderStyleRule>
protected float determineXOffset(LayoutState layoutState)
determineXOffset
in class RenderNode<Slider,SliderStyleRule>
protected float determineYOffset(LayoutState layoutState)
determineYOffset
in class RenderNode<Slider,SliderStyleRule>