public class TextButtonRenderNode extends RenderNode<TextButton,ButtonStyleRule> implements ActionableRenderNode
| Modifier and Type | Field and Description | 
|---|---|
protected LayoutRuleset | 
layoutRuleset  | 
effects, element, hiddenByLayoutRule, initialLayoutOccurred, innerArea, outerArea, parent, preferredContentHeight, preferredContentWidth, style, targetOuterArea, xOffset, yOffset, zIndex| Constructor and Description | 
|---|
TextButtonRenderNode(ParentRenderNode<?,?> parent,
                    TextButton 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)  | 
applyEffect, beginHover, contains, endHover, getContentRenderHeight, getContentRenderWidth, getContentRenderX, getContentRenderY, 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, mouseMoved, render, setDirty, setRelativeX, setRelativeY, setState, toString, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetStatebeginHover, contains, endHover, getIdprotected LayoutRuleset layoutRuleset
public TextButtonRenderNode(ParentRenderNode<?,?> parent, TextButton element)
public void layout(LayoutState layoutState)
layout in class RenderNode<TextButton,ButtonStyleRule>public ActionableRenderNode mouseDown(int screenX, int screenY, int pointer, int button)
mouseDown in class RenderNode<TextButton,ButtonStyleRule>public void mouseUp(int screenX,
           int screenY,
           int pointer,
           int button)
mouseUp in interface ActionableRenderNodemouseUp in class RenderNode<TextButton,ButtonStyleRule>protected void renderElement(Graphics g)
renderElement in class RenderNode<TextButton,ButtonStyleRule>protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth in class RenderNode<TextButton,ButtonStyleRule>protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight in class RenderNode<TextButton,ButtonStyleRule>protected float determineXOffset(LayoutState layoutState)
determineXOffset in class RenderNode<TextButton,ButtonStyleRule>protected float determineYOffset(LayoutState layoutState)
determineYOffset in class RenderNode<TextButton,ButtonStyleRule>protected ButtonStyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule in class RenderNode<TextButton,ButtonStyleRule>public void beginAction()
beginAction in interface ActionableRenderNodepublic void endAction()
endAction in interface ActionableRenderNodepublic LayoutRuleset getLayoutRuleset()