public class ContentButtonRenderNode extends ParentRenderNode<ContentButton,ButtonStyleRule> implements ActionableRenderNode
| Modifier and Type | Field and Description | 
|---|---|
protected LayoutRuleset | 
layoutRuleset  | 
childDirty, layerseffects, element, hiddenByLayoutRule, initialLayoutOccurred, innerArea, outerArea, parent, preferredContentHeight, preferredContentWidth, style, targetOuterArea, xOffset, yOffset, zIndex| Constructor and Description | 
|---|
ContentButtonRenderNode(ParentRenderNode<?,?> parent,
                       ContentButton element)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
beginAction()  | 
protected float | 
determinePreferredContentHeight(LayoutState layoutState)  | 
protected float | 
determinePreferredContentWidth(LayoutState layoutState)  | 
protected ButtonStyleRule | 
determineStyleRule(LayoutState layoutState)  | 
protected float | 
determineXOffset(LayoutState layoutState)  | 
protected float | 
determineYOffset(LayoutState layoutState)  | 
void | 
endAction()  | 
LayoutRuleset | 
getLayoutRuleset()  | 
void | 
layout(LayoutState layoutState)  | 
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)  | 
addChild, clearChildren, getElementById, interpolate, isDirty, mouseMoved, removeChild, setChildDirty, setDirty, setState, updateapplyEffect, beginHover, contains, endHover, getContentRenderHeight, getContentRenderWidth, getContentRenderX, getContentRenderY, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetStatebeginHover, contains, endHover, getIdprotected LayoutRuleset layoutRuleset
public ContentButtonRenderNode(ParentRenderNode<?,?> parent, ContentButton element)
public void layout(LayoutState layoutState)
layout in class ParentRenderNode<ContentButton,ButtonStyleRule>public ActionableRenderNode mouseDown(int screenX, int screenY, int pointer, int button)
mouseDown in class ParentRenderNode<ContentButton,ButtonStyleRule>public void mouseUp(int screenX,
           int screenY,
           int pointer,
           int button)
mouseUp in interface ActionableRenderNodemouseUp in class RenderNode<ContentButton,ButtonStyleRule>protected void renderElement(Graphics g)
renderElement in class ParentRenderNode<ContentButton,ButtonStyleRule>protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth in class RenderNode<ContentButton,ButtonStyleRule>protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight in class RenderNode<ContentButton,ButtonStyleRule>protected float determineXOffset(LayoutState layoutState)
determineXOffset in class RenderNode<ContentButton,ButtonStyleRule>protected float determineYOffset(LayoutState layoutState)
determineYOffset in class RenderNode<ContentButton,ButtonStyleRule>protected ButtonStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule in class RenderNode<ContentButton,ButtonStyleRule>public void beginAction()
beginAction in interface ActionableRenderNodepublic void endAction()
endAction in interface ActionableRenderNodepublic LayoutRuleset getLayoutRuleset()