public class ButtonRenderNode extends ParentRenderNode<Button,ButtonStyleRule> implements ActionableRenderNode
RenderNode
implementation for Button
childDirty, flexDirection, horizontalLayoutRuleset, layers, verticalLayoutRuleset
effects, element, hiddenByLayoutRule, initialLayoutOccurred, outerArea, parent, preferredContentHeight, preferredContentWidth, rootNode, style, targetOuterArea, xOffset, yOffset, zIndex
Constructor and Description |
---|
ButtonRenderNode(ParentRenderNode<?,?> parent,
Button element) |
Modifier and Type | Method and Description |
---|---|
void |
beginAction(EventTrigger eventTrigger,
EventTriggerParams eventTriggerParams) |
protected ButtonStyleRule |
determineStyleRule(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) |
addChild, clearChildren, determinePreferredContentHeight, determinePreferredContentWidth, determineXOffset, determineYOffset, getElementById, getFlexDirection, getHorizontalLayoutRuleset, getVerticalLayoutRuleset, interpolate, isDirty, layout, mouseScrolled, removeChild, 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, render, setRelativeX, setRelativeY, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getState, setState
beginHover, contains, endHover, getElement, getId
public ButtonRenderNode(ParentRenderNode<?,?> parent, Button element)
public ActionableRenderNode mouseDown(int screenX, int screenY, int pointer, int button)
mouseDown
in class ParentRenderNode<Button,ButtonStyleRule>
public void mouseUp(int screenX, int screenY, int pointer, int button)
mouseUp
in interface ActionableRenderNode
mouseUp
in class RenderNode<Button,ButtonStyleRule>
public boolean mouseMoved(int screenX, int screenY)
mouseMoved
in class ParentRenderNode<Button,ButtonStyleRule>
protected void renderElement(Graphics g)
renderElement
in class ParentRenderNode<Button,ButtonStyleRule>
protected ButtonStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule
in class RenderNode<Button,ButtonStyleRule>
public void beginAction(EventTrigger eventTrigger, EventTriggerParams eventTriggerParams)
beginAction
in interface ActionableRenderNode
public void endAction(EventTrigger eventTrigger, EventTriggerParams eventTriggerParams)
endAction
in interface ActionableRenderNode