| Package | Description |
|---|---|
| org.web3d.x3d.jsail |
The X3D Java Scene Access Interface Library (X3DJSAIL) provides a comprehensive
set of
strongly typed X3D Java interfaces for concrete implementation classes.
|
| org.web3d.x3d.jsail.Core |
The Core component supplies the base functionality for the X3D run-time system, including
the abstract base node type, field types, the event model, and routing.
|
| Modifier and Type | Method and Description |
|---|---|
SceneObject |
X3DConcreteElement.findAncestorSceneObject()
Find object reference to ancestor Scene element, assumes this object is an attached child.
|
| Modifier and Type | Method and Description |
|---|---|
SceneObject |
SceneObject.addChild(X3DChildNode newValue)
Utility method to add single child element to contained list of existing children nodes (if any).
|
SceneObject |
SceneObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to children field
|
SceneObject |
SceneObject.addComments(java.lang.String newComment)
Add comment as CommentsBlock to children field
|
SceneObject |
SceneObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to children field
|
SceneObject |
SceneObject.addLayerSet(LayerSetObject newValue)
Utility method to add single LayerSetObject to contained list of existing Scene root nodes (if any).
|
SceneObject |
SceneObject.addMetadata(X3DMetadataObject newValue)
Utility method to add single X3DMetadataNode to contained list of existing Scene root nodes (if any).
|
SceneObject |
SceneObject.clearChildren()
Utility method to clear MFNode value of children field.
|
SceneObject |
X3DObject.getScene()
Provide SceneObject instance (using a properly typed node) from inputOutput SFNode field Scene.
|
SceneObject |
SceneObject.setChildren(java.util.ArrayList<X3DNode> newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to X3DChildNode|X3DMetadataObject|LayerSet, to inputOutput MFNode field children.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(newValue instanceof org.web3d.x3d.jsail.Core.CommentsBlock) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ROUTEObject) ||
(newValue instanceof org.web3d.x3d.jsail.Networking.IMPORTObject) ||
(newValue instanceof org.web3d.x3d.jsail.Networking.EXPORTObject) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ProtoDeclareObject) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ExternProtoDeclareObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Core.X3DChildNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Core.X3DMetadataObject) ||
(newValue instanceof org.web3d.x3d.jsail.Layering.LayerSetObject);
if (!
|
| Modifier and Type | Method and Description |
|---|---|
X3DObject |
X3DObject.setScene(SceneObject newValue)
Assign SceneObject instance (using a properly typed node) to inputOutput SFNode field Scene.
|
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.