public interface ProtoInstance extends X3DPrototypeInstance, X3DChildNode
| Modifier and Type | Method and Description |
|---|---|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String |
getName()
Provide String value from inputOutput SFString field named name.
|
ProtoInstance |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ProtoInstance |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ProtoInstance |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ProtoInstance |
setName(java.lang.String newValue)
Assign String value to inputOutput SFString field named name.
|
ProtoInstance |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DPrototypeInstanceProtoInstance setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DPrototypeInstancenewValue - is new value for the metadata field.ProtoInstance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getName()
ProtoInstance setName(java.lang.String newValue)
newValue - is new value for the name field.ProtoInstance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ProtoInstance setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.ProtoInstance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ProtoInstance 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.setUSE in interface X3DChildNodesetUSE in interface X3DNodenewValue - is new value for the USE field.ProtoInstance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ProtoInstance setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.ProtoInstance - 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.