Uses of Class
org.web3d.x3d.jsail.Core.ProtoBody
Package
Description
The X3D Java Scene Access Interface Library (X3DJSAIL) provides a
comprehensive set of strongly typed X3D Java interfaces for
concrete implementation classes.
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.
-
Uses of ProtoBody in org.web3d.x3d.jsail
Modifier and TypeMethodDescriptionX3DConcreteElement.findAncestorProtoBody()
Find object reference to ancestor ProtoBody, if this node or statement is a child. -
Uses of ProtoBody in org.web3d.x3d.jsail.Core
Modifier and TypeFieldDescriptionstatic final ProtoBody
ProtoDeclare.PROTOBODY_DEFAULT_VALUE
SFNode field named ProtoBody has default value null (Java syntax) or NULL (XML syntax).Modifier and TypeMethodDescriptionUtility method to add single child element to contained list of existing children nodes (if any).ProtoBody.addChildren
(ProtoInstance newValue) Add single ProtoInstance (with appropriate node type and containerField value) to MFNode array for children field.ProtoBody.addComments
(String newComment) Add comment as CommentsBlock to children fieldProtoBody.addComments
(String[] newComments) Add comments as String[] array to children fieldProtoBody.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to children fieldProtoBody.clearChildren()
Utility method to clear MFNode value of children field.ProtoDeclare.getProtoBody()
Provide ProtoBody instance (using a properly typed node) from inputOutput SFNode field ProtoBody.ProtoBody.setChildren
(ArrayList<X3DNode> newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field children.ProtoBody.setChildren
(X3DNode newValue) Set single children node, replacing prior array of existing nodes (if any).final ProtoBody
ProtoBody.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.ProtoBody.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final ProtoBody
ProtoBody.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.ProtoBody.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final ProtoBody
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.Modifier and TypeMethodDescriptionProtoDeclare.setProtoBody
(ProtoBody newValue) Accessor method to assign ProtoBody instance (using a properly typed node) to inputOutput SFNode field ProtoBody.