public class BorderLayout extends AbstractGuiComponent implements GuiLayout, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
BorderLayout.Position |
Constructor and Description |
---|
BorderLayout() |
Modifier and Type | Method and Description |
---|---|
<T extends com.jme3.scene.Node> |
addChild(BorderLayout.Position pos,
T n) |
<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() |
BorderLayout |
clone() |
void |
detach(GuiControl parent) |
java.util.Collection<com.jme3.scene.Node> |
getChildren() |
protected com.jme3.math.Vector3f |
getPreferredSize(BorderLayout.Position pos) |
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 BorderLayout clone()
clone
in interface GuiComponent
clone
in interface GuiLayout
clone
in class AbstractGuiComponent
protected void invalidate()
invalidate
in class AbstractGuiComponent
protected com.jme3.math.Vector3f getPreferredSize(BorderLayout.Position pos)
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(BorderLayout.Position pos, T n)
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 java.util.Collection<com.jme3.scene.Node> getChildren()
getChildren
in interface GuiLayout
public void clearChildren()
clearChildren
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