|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A node which can contain other nodes.
| Method Summary | |
void |
addChild(VRMLNodeType newChild)
Append a new child node to the existing collection. |
boolean |
containsBindableNodes()
A check to see if this grouping node contains any bindable nodes. |
VRMLNodeType[] |
getChildren()
Get the children, provides a live reference not a copy |
int |
getChildrenSize()
Returns the number of children. |
boolean |
isShared()
Check to see if this node has been used more than once. |
void |
setChildren(VRMLNodeType newChild)
Accessor method to set the children field. |
void |
setChildren(VRMLNodeType[] newChildren)
Accesor method to set the children field. |
void |
setShared(boolean used)
Adjust the sharing count up or down one increment depending on the flag. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLBoundedNodeType |
getBboxCenter, getBboxSize |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
allEventsComplete |
| Method Detail |
public VRMLNodeType[] getChildren()
public void setChildren(VRMLNodeType[] newChildren)
newChildren - Array of new childrenpublic void setChildren(VRMLNodeType newChild)
newChild - The new childpublic void addChild(VRMLNodeType newChild)
newChild - The new childpublic int getChildrenSize()
public boolean containsBindableNodes()
public boolean isShared()
public void setShared(boolean used)
used - true if this is about to have another reference added
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||