Uses of Class
org.web3d.x3d.jsail.Core.unit
Package
Description
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 unit in org.web3d.x3d.jsail.Core
Modifier and TypeMethodDescriptionunit.addComments
(String newComment) Add comment as String to contained commentsList.unit.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.unit.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.head.findUnitByName
(String unitName) Find contained unit statement by name, if present.unit.setCategory
(String newValue) Accessor method to assign String enumeration value ("angle" | "force" | "length" | "mass") to initializeOnly SFString field named category.unit.setCategory
(SFString newValue) Assign typed object value to SFString category field, similar tosetCategory(String)
.unit.setConversionFactor
(double newValue) Accessor method to assign double value to inputOutput SFDouble field named conversionFactor.unit.setConversionFactor
(SFDouble newValue) Assign typed object value to SFDouble conversionFactor field, similar tosetConversionFactor(double)
.final unit
unit.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.unit.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final unit
unit.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.unit.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final unit
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.final unit
Accessor method to assign String value to inputOutput SFString field named name.Assign typed object value to SFString name field, similar tosetName(String)
.Modifier and TypeMethodDescriptionhead.getUnitList()
Provide array of unit results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field unit.Modifier and TypeMethodDescriptionAdd array of child unit nodes to array of existing nodes (if any).Set single child unit node, replacing prior array of existing nodes (if any).Modifier and TypeMethodDescriptionhead.setUnitList
(ArrayList<unit> newValue) Accessor method to assign unit array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field unit.