public class ImageRenderNode extends RenderNode<Image,StyleRule>
RenderNode
implementation for Image
effects, element, hiddenByLayoutRule, initialLayoutOccurred, outerArea, parent, preferredContentHeight, preferredContentWidth, rootNode, style, targetOuterArea, xOffset, yOffset, zIndex
Constructor and Description |
---|
ImageRenderNode(ParentRenderNode<?,?> parent,
Image element) |
Modifier and Type | Method and Description |
---|---|
protected float |
determinePreferredContentHeight(LayoutState layoutState) |
protected float |
determinePreferredContentWidth(LayoutState layoutState) |
protected StyleRule |
determineStyleRule(LayoutState layoutState) |
protected float |
determineXOffset(LayoutState layoutState) |
protected float |
determineYOffset(LayoutState layoutState) |
void |
layout(LayoutState layoutState) |
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, mouseDown, mouseMoved, mouseScrolled, mouseUp, render, setDirty, setRelativeX, setRelativeY, setState, toString, update
public ImageRenderNode(ParentRenderNode<?,?> parent, Image element)
protected void renderElement(Graphics g)
renderElement
in class RenderNode<Image,StyleRule>
public void layout(LayoutState layoutState)
layout
in class RenderNode<Image,StyleRule>
protected float determinePreferredContentWidth(LayoutState layoutState)
determinePreferredContentWidth
in class RenderNode<Image,StyleRule>
protected float determinePreferredContentHeight(LayoutState layoutState)
determinePreferredContentHeight
in class RenderNode<Image,StyleRule>
protected float determineXOffset(LayoutState layoutState)
determineXOffset
in class RenderNode<Image,StyleRule>
protected float determineYOffset(LayoutState layoutState)
determineYOffset
in class RenderNode<Image,StyleRule>
protected StyleRule determineStyleRule(LayoutState layoutState)
determineStyleRule
in class RenderNode<Image,StyleRule>