public class RenderLayer extends java.lang.Object implements java.lang.Comparable<RenderLayer>
RenderNode
s on the z axis of a ParentRenderNode
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RenderNode<?,?>> |
children |
protected ParentRenderNode<?,?> |
owner |
protected int |
zIndex |
Constructor and Description |
---|
RenderLayer(ParentRenderNode<?,?> owner,
int zIndex) |
Modifier and Type | Method and Description |
---|---|
void |
add(RenderNode<?,?> child) |
int |
compareTo(RenderLayer o) |
float |
determinePreferredContentHeight(LayoutState layoutState) |
RenderNode<?,?> |
getChild(int index) |
RenderNode<?,?> |
getElementById(java.lang.String id) |
RenderNode<?,?> |
getFirstChild() |
RenderNode<?,?> |
getLastChild() |
int |
getTotalChildren() |
void |
interpolate(float alpha) |
boolean |
isDirty() |
void |
layout(LayoutState layoutState) |
ActionableRenderNode |
mouseDown(int screenX,
int screenY,
int pointer,
int button) |
boolean |
mouseMoved(int screenX,
int screenY) |
boolean |
mouseScrolled(int screenX,
int screenY,
float amount) |
void |
remove(RenderNode<?,?> child) |
protected void |
render(Graphics g) |
void |
setDirty(boolean dirty) |
void |
setState(NodeState state) |
void |
update(UiContainerRenderTree uiContainer,
float delta) |
protected final java.util.List<RenderNode<?,?>> children
protected final ParentRenderNode<?,?> owner
protected final int zIndex
public RenderLayer(ParentRenderNode<?,?> owner, int zIndex)
public void add(RenderNode<?,?> child)
public void remove(RenderNode<?,?> child)
public void update(UiContainerRenderTree uiContainer, float delta)
public void interpolate(float alpha)
protected void render(Graphics g)
public void layout(LayoutState layoutState)
public boolean mouseScrolled(int screenX, int screenY, float amount)
public boolean mouseMoved(int screenX, int screenY)
public ActionableRenderNode mouseDown(int screenX, int screenY, int pointer, int button)
public float determinePreferredContentHeight(LayoutState layoutState)
public boolean isDirty()
public void setDirty(boolean dirty)
public void setState(NodeState state)
public RenderNode<?,?> getElementById(java.lang.String id)
public RenderNode<?,?> getFirstChild()
public RenderNode<?,?> getLastChild()
public RenderNode<?,?> getChild(int index)
public int getTotalChildren()
public int compareTo(RenderLayer o)
compareTo
in interface java.lang.Comparable<RenderLayer>