|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsynoptic.plugins.java3d.AttachDetach
public class AttachDetach
Constructor Summary | |
---|---|
AttachDetach(Node n)
|
Method Summary | |
---|---|
void |
attach()
Allow the scene to be displayed by attaching the main branchgroup |
void |
attach(int key)
Allow the scene to be displayed by attaching the main branchgroup |
void |
detach()
Allow modifications to the scene by detaching the main branchgroup |
void |
detach(int key)
Allow modifications to the scene by detaching the main branchgroup Attaching will be accepted only with the given key => this allows a code to detach once for all, and call functions that do attach/detach with other or no keys => the higher level detach/attach is the only one taken in account Tip: use Object.hashCode() to get a unique ID. |
Node |
getNode()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachDetach(Node n)
Method Detail |
---|
public Node getNode()
public void attach()
public void attach(int key)
public void detach()
public void detach(int key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |