|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscenic.SceneNode
scenic.SceneContainer
public class SceneContainer
This class is a base class for scene nodes that contain other scene nodes. The child nodes are painted starting from the first child.
| Constructor Summary | |
|---|---|
SceneContainer()
Constructs an empty SceneContainer. |
|
| Method Summary | |
|---|---|
void |
add(int index,
SceneNode node)
Adds a child node to the given index in the child list. |
void |
add(SceneNode node)
Adds a child node at the end of the child list. |
void |
childChanged(java.awt.Rectangle area)
|
void |
clear()
Removes all child nodes from this container. |
void |
remove(SceneNode node)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SceneContainer()
| Method Detail |
|---|
public void add(int index,
SceneNode node)
index - the index in the child list.node - the child node.public void add(SceneNode node)
node - the child node.public void clear()
public void remove(SceneNode node)
public void childChanged(java.awt.Rectangle area)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||