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