public interface Contour2D extends X3DNode
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(X3DNode[] newValue)
Add array of children nodes to array of existing nodes (if any).
|
X3DNode[] |
getChildren()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to NurbsCurve2D|ContourPolyline2D, from inputOutput MFNode field children.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
void |
setChildren(X3DNode newValue)
Set single children node, replacing prior array of existing nodes (if any).
|
Contour2D |
setChildren(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to NurbsCurve2D|ContourPolyline2D, 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.jsail.NURBS.NurbsCurve2DObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.ContourPolyline2DObject);
if (!
|
Contour2D |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Contour2D |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Contour2D |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Contour2D |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DNode[] getChildren()
NurbsCurve2DObject,
ContourPolyline2DObjectContour2D setChildren(X3DNode[] newValue)
newValue - is new value for the children field.Contour2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addChildren(X3DNode[] newValue)
newValue - is new value array to be appended the children field.void setChildren(X3DNode newValue)
newValue - is new node for the children fieldX3DMetadataObject getMetadata()
getMetadata in interface X3DNodeContour2D setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodenewValue - is new value for the metadata field.Contour2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Contour2D setDEF(java.lang.String newValue)
Contour2D setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.Contour2D setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodenewValue - is new value for the class field.Contour2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.