public class BoxLayout extends AbstractGuiComponent implements GuiLayout, java.lang.Cloneable
Constructor and Description |
---|
BoxLayout() |
BoxLayout(Axis axis,
FillMode fill) |
Modifier and Type | Method and Description |
---|---|
<T extends com.jme3.scene.Node> |
addChild(T n,
java.lang.Object... constraints) |
void |
attach(GuiControl parent) |
void |
calculatePreferredSize(com.jme3.math.Vector3f size) |
void |
clearChildren() |
BoxLayout |
clone() |
void |
detach(GuiControl parent) |
java.util.Collection<com.jme3.scene.Node> |
getChildren() |
protected void |
invalidate() |
void |
removeChild(com.jme3.scene.Node n) |
void |
reshape(com.jme3.math.Vector3f pos,
com.jme3.math.Vector3f size) |
getGuiControl, getNode, isAttached
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGuiControl, isAttached
public BoxLayout clone()
clone
in interface GuiComponent
clone
in interface GuiLayout
clone
in class AbstractGuiComponent
protected void invalidate()
invalidate
in class AbstractGuiComponent
public void calculatePreferredSize(com.jme3.math.Vector3f size)
calculatePreferredSize
in interface GuiComponent
public void reshape(com.jme3.math.Vector3f pos, com.jme3.math.Vector3f size)
reshape
in interface GuiComponent
public <T extends com.jme3.scene.Node> T addChild(T n, java.lang.Object... constraints)
public void removeChild(com.jme3.scene.Node n)
removeChild
in interface GuiLayout
public void attach(GuiControl parent)
attach
in interface GuiComponent
attach
in class AbstractGuiComponent
public void detach(GuiControl parent)
detach
in interface GuiComponent
detach
in class AbstractGuiComponent
public java.util.Collection<com.jme3.scene.Node> getChildren()
getChildren
in interface GuiLayout
public void clearChildren()
clearChildren
in interface GuiLayout