Package org.web3d.x3d.jsail.Layout
Class LayoutObject
java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.Layout.LayoutObject
- All Implemented Interfaces:
X3DChildNode,X3DNode,Layout,X3DLayoutNode
public class LayoutObject extends X3DConcreteNode implements Layout
Layout node is used as layout field of LayoutLayer and LayoutGroup nodes.
X3D node tooltip: (X3D version 3.2 or later) [X3DLayoutNode] Layout node is used as layout field of LayoutLayer and LayoutGroup nodes. Layout provides all parameters required to define the size, location and scale of a 2D rectangular region.
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
X3D node tooltip: (X3D version 3.2 or later) [X3DLayoutNode] Layout node is used as layout field of LayoutLayer and LayoutGroup nodes. Layout provides all parameters required to define the size, location and scale of a 2D rectangular region.
- Hint: the align, offset, and offsetUnits fields are used to determine the location of the layout region.
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALIGN_CENTER_BOTTOMMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"CENTER\" \"BOTTOM\"" (Java syntax) or '"CENTER" "BOTTOM"' (XML syntax).static java.lang.StringALIGN_CENTER_CENTERMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"CENTER\" \"CENTER\"" (Java syntax) or '"CENTER" "CENTER"' (XML syntax).static java.lang.StringALIGN_CENTER_TOPMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"CENTER\" \"TOP\"" (Java syntax) or '"CENTER" "TOP"' (XML syntax).static java.util.ArrayList<java.lang.String>ALIGN_DEFAULT_VALUEMFString field named align has default quoted value new String[] {"CENTER","CENTER"} (Java syntax) or quoted value "CENTER" "CENTER" (XML syntax).static java.lang.StringALIGN_LEFT_BOTTOMMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"LEFT\" \"BOTTOM\"" (Java syntax) or '"LEFT" "BOTTOM"' (XML syntax).static java.lang.StringALIGN_LEFT_CENTERMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"LEFT\" \"CENTER\"" (Java syntax) or '"LEFT" "CENTER"' (XML syntax).static java.lang.StringALIGN_LEFT_TOPMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"LEFT\" \"TOP\"" (Java syntax) or '"LEFT" "TOP"' (XML syntax).static java.lang.StringALIGN_RIGHT_BOTTOMMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"RIGHT\" \"BOTTOM\"" (Java syntax) or '"RIGHT" "BOTTOM"' (XML syntax).static java.lang.StringALIGN_RIGHT_CENTERMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"RIGHT\" \"CENTER\"" (Java syntax) or '"RIGHT" "CENTER"' (XML syntax).static java.lang.StringALIGN_RIGHT_TOPMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"RIGHT\" \"TOP\"" (Java syntax) or '"RIGHT" "TOP"' (XML syntax).static java.lang.StringCOMPONENTString constant COMPONENT defines X3D component for the Layout element: Layoutstatic java.lang.StringcontainerField_DEFAULT_VALUEcontainerField describes typical field relationship of a node to its parent.static java.lang.StringfromField_ALIGNfromField ROUTE name for MFString field named align.static java.lang.StringfromField_ISfromField ROUTE name for SFNode field named IS.static java.lang.StringfromField_METADATAfromField ROUTE name for SFNode field named metadata.static java.lang.StringfromField_OFFSETfromField ROUTE name for MFFloat field named offset.static java.lang.StringfromField_OFFSETUNITSfromField ROUTE name for MFString field named offsetUnits.static java.lang.StringfromField_SCALEMODEfromField ROUTE name for MFString field named scaleMode.static java.lang.StringfromField_SIZEUNITSfromField ROUTE name for MFString field named sizeUnits.static ISObjectIS_DEFAULT_VALUESFNode field named IS has default value null (Java syntax) or NULL (XML syntax).static intLEVELInteger constant LEVEL provides default X3D Layout component level for this element: 1static X3DMetadataObjectMETADATA_DEFAULT_VALUESFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).static java.lang.StringNAMEString constant NAME provides name of this element: Layout.static java.util.ArrayList<java.lang.Float>OFFSET_DEFAULT_VALUEMFFloat field named offset has default value {0f,0f} (Java syntax) or 0 0 (XML syntax).static java.util.ArrayList<java.lang.String>OFFSETUNITS_DEFAULT_VALUEMFString field named offsetUnits has default quoted value new String[] {"WORLD","WORLD"} (Java syntax) or quoted value "WORLD" "WORLD" (XML syntax).static java.lang.StringOFFSETUNITS_FRACTION_FRACTIONMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"FRACTION\"" (Java syntax) or '"FRACTION" "FRACTION"' (XML syntax).static java.lang.StringOFFSETUNITS_FRACTION_PIXELMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"PIXEL\"" (Java syntax) or '"FRACTION" "PIXEL"' (XML syntax).static java.lang.StringOFFSETUNITS_FRACTION_WORLDMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"WORLD\"" (Java syntax) or '"FRACTION" "WORLD"' (XML syntax).static java.lang.StringOFFSETUNITS_PIXEL_FRACTIONMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"FRACTION\"" (Java syntax) or '"PIXEL" "FRACTION"' (XML syntax).static java.lang.StringOFFSETUNITS_PIXEL_PIXELMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"PIXEL\"" (Java syntax) or '"PIXEL" "PIXEL"' (XML syntax).static java.lang.StringOFFSETUNITS_PIXEL_WORLDMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"WORLD\"" (Java syntax) or '"PIXEL" "WORLD"' (XML syntax).static java.lang.StringOFFSETUNITS_WORLD_FRACTIONMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"FRACTION\"" (Java syntax) or '"WORLD" "FRACTION"' (XML syntax).static java.lang.StringOFFSETUNITS_WORLD_PIXELMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"PIXEL\"" (Java syntax) or '"WORLD" "PIXEL"' (XML syntax).static java.lang.StringOFFSETUNITS_WORLD_WORLDMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"WORLD\"" (Java syntax) or '"WORLD" "WORLD"' (XML syntax).static java.util.ArrayList<java.lang.String>SCALEMODE_DEFAULT_VALUEMFString field named scaleMode has default quoted value new String[] {"NONE","NONE"} (Java syntax) or quoted value "NONE" "NONE" (XML syntax).static java.lang.StringSCALEMODE_FRACTION_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"FRACTION\"" (Java syntax) or '"FRACTION" "FRACTION"' (XML syntax).static java.lang.StringSCALEMODE_FRACTION_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"NONE\"" (Java syntax) or '"FRACTION" "NONE"' (XML syntax).static java.lang.StringSCALEMODE_FRACTION_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"PIXEL\"" (Java syntax) or '"FRACTION" "PIXEL"' (XML syntax).static java.lang.StringSCALEMODE_FRACTION_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"STRETCH\"" (Java syntax) or '"FRACTION" "STRETCH"' (XML syntax).static java.lang.StringSCALEMODE_NONE_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"FRACTION\"" (Java syntax) or '"NONE" "FRACTION"' (XML syntax).static java.lang.StringSCALEMODE_NONE_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"NONE\"" (Java syntax) or '"NONE" "NONE"' (XML syntax).static java.lang.StringSCALEMODE_NONE_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"PIXEL\"" (Java syntax) or '"NONE" "PIXEL"' (XML syntax).static java.lang.StringSCALEMODE_NONE_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"STRETCH\"" (Java syntax) or '"NONE" "STRETCH"' (XML syntax).static java.lang.StringSCALEMODE_PIXEL_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"FRACTION\"" (Java syntax) or '"PIXEL" "FRACTION"' (XML syntax).static java.lang.StringSCALEMODE_PIXEL_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"NONE\"" (Java syntax) or '"PIXEL" "NONE"' (XML syntax).static java.lang.StringSCALEMODE_PIXEL_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"PIXEL\"" (Java syntax) or '"PIXEL" "PIXEL"' (XML syntax).static java.lang.StringSCALEMODE_PIXEL_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"STRETCH\"" (Java syntax) or '"PIXEL" "STRETCH"' (XML syntax).static java.lang.StringSCALEMODE_STRETCH_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"FRACTION\"" (Java syntax) or '"STRETCH" "FRACTION"' (XML syntax).static java.lang.StringSCALEMODE_STRETCH_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"NONE\"" (Java syntax) or '"STRETCH" "NONE"' (XML syntax).static java.lang.StringSCALEMODE_STRETCH_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"PIXEL\"" (Java syntax) or '"STRETCH" "PIXEL"' (XML syntax).static java.lang.StringSCALEMODE_STRETCH_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"STRETCH\"" (Java syntax) or '"STRETCH" "STRETCH"' (XML syntax).static java.util.ArrayList<java.lang.Float>SIZE_DEFAULT_VALUEMFFloat field named size has default value {1f,1f} (Java syntax) or 1 1 (XML syntax).static java.util.ArrayList<java.lang.String>SIZEUNITS_DEFAULT_VALUEMFString field named sizeUnits has default quoted value new String[] {"WORLD","WORLD"} (Java syntax) or quoted value "WORLD" "WORLD" (XML syntax).static java.lang.StringSIZEUNITS_FRACTION_FRACTIONMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"FRACTION\"" (Java syntax) or '"FRACTION" "FRACTION"' (XML syntax).static java.lang.StringSIZEUNITS_FRACTION_PIXELMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"PIXEL\"" (Java syntax) or '"FRACTION" "PIXEL"' (XML syntax).static java.lang.StringSIZEUNITS_FRACTION_WORLDMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"WORLD\"" (Java syntax) or '"FRACTION" "WORLD"' (XML syntax).static java.lang.StringSIZEUNITS_PIXEL_FRACTIONMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"FRACTION\"" (Java syntax) or '"PIXEL" "FRACTION"' (XML syntax).static java.lang.StringSIZEUNITS_PIXEL_PIXELMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"PIXEL\"" (Java syntax) or '"PIXEL" "PIXEL"' (XML syntax).static java.lang.StringSIZEUNITS_PIXEL_WORLDMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"WORLD\"" (Java syntax) or '"PIXEL" "WORLD"' (XML syntax).static java.lang.StringSIZEUNITS_WORLD_FRACTIONMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"FRACTION\"" (Java syntax) or '"WORLD" "FRACTION"' (XML syntax).static java.lang.StringSIZEUNITS_WORLD_PIXELMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"PIXEL\"" (Java syntax) or '"WORLD" "PIXEL"' (XML syntax).static java.lang.StringSIZEUNITS_WORLD_WORLDMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"WORLD\"" (Java syntax) or '"WORLD" "WORLD"' (XML syntax).static java.lang.StringtoField_ALIGNtoField ROUTE name for MFString field named align.static java.lang.StringtoField_METADATAtoField ROUTE name for SFNode field named metadata.static java.lang.StringtoField_OFFSETtoField ROUTE name for MFFloat field named offset.static java.lang.StringtoField_OFFSETUNITStoField ROUTE name for MFString field named offsetUnits.static java.lang.StringtoField_SCALEMODEtoField ROUTE name for MFString field named scaleMode.static java.lang.StringtoField_SIZEUNITStoField ROUTE name for MFString field named sizeUnits.Fields inherited from class org.web3d.x3d.jsail.X3DConcreteNode
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUE -
Constructor Summary
Constructors Constructor Description LayoutObject()Constructor for LayoutObject to initialize member variables with default values.LayoutObject(java.lang.String DEFlabel)Utility constructor that assigns DEF label after initializing member variables with default values. -
Method Summary
Modifier and Type Method Description LayoutObjectaddAlign(java.lang.String newValue)Add singleton String value to MFString align field.LayoutObjectaddAlign(SFStringObject newValue)Add singleton SFStringObject value to MFString align field.LayoutObjectaddComments(java.lang.String newComment)Add comment as String to contained commentsList.LayoutObjectaddComments(java.lang.String[] newComments)Add comments as String[] array to contained commentsList.LayoutObjectaddComments(CommentsBlock newCommentsBlock)Add CommentsBlock to contained commentsList.LayoutObjectaddOffset(float newValue)Add singleton float value to MFFloat offset field.LayoutObjectaddOffset(SFFloatObject newValue)Add singleton SFFloatObject value to MFFloat offset field.LayoutObjectaddOffsetUnits(java.lang.String newValue)Add singleton String value to MFString offsetUnits field.LayoutObjectaddOffsetUnits(SFStringObject newValue)Add singleton SFStringObject value to MFString offsetUnits field.LayoutObjectaddScaleMode(java.lang.String newValue)Add singleton String value to MFString scaleMode field.LayoutObjectaddScaleMode(SFStringObject newValue)Add singleton SFStringObject value to MFString scaleMode field.LayoutObjectaddSize(float newValue)Add singleton float value to MFFloat size field.LayoutObjectaddSize(SFFloatObject newValue)Add singleton SFFloatObject value to MFFloat size field.LayoutObjectaddSizeUnits(java.lang.String newValue)Add singleton String value to MFString sizeUnits field.LayoutObjectaddSizeUnits(SFStringObject newValue)Add singleton SFStringObject value to MFString sizeUnits field.LayoutObjectclearAlign()Utility method to clear MFString value of align field.LayoutObjectclearIS()Utility method to clear SFNode value of IS field.LayoutObjectclearMetadata()Utility method to clear SFNode value of metadata field.LayoutObjectclearOffset()Utility method to clear MFFloat value of offset field.LayoutObjectclearOffsetUnits()Utility method to clear MFString value of offsetUnits field.LayoutObjectclearScaleMode()Utility method to clear MFString value of scaleMode field.LayoutObjectclearSize()Utility method to clear MFFloat value of size field.LayoutObjectclearSizeUnits()Utility method to clear MFString value of sizeUnits field.X3DConcreteElementfindElementByNameValue(java.lang.String nameValue)Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.X3DConcreteElementfindElementByNameValue(java.lang.String nameValue, java.lang.String elementName)Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.X3DConcreteNodefindNodeByDEF(java.lang.String DEFvalue)Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.java.lang.StringgetAccessType(java.lang.String fieldName)Indicate accessType corresponding to given fieldName.java.lang.String[]getAlign()Provide array of String enumeration results (baseType MFString) ['"LEFT" "BOTTOM"' | '"LEFT" "CENTER"' | '"LEFT" "TOP"' | '"CENTER" "BOTTOM"' | '"CENTER" "CENTER"' | '"CENTER" "TOP"' | '"RIGHT" "BOTTOM"' | '"RIGHT" "CENTER"' | '"RIGHT" "TOP"'] from inputOutput MFString field named align.java.util.ArrayList<java.lang.String>getAlignList()Utility method to get ArrayList value of MFString align field, similar togetAlign().java.lang.StringgetAlignString()Utility method to get String value of MFString align field, similar togetAlign().java.lang.StringgetComponent()Defines X3D component for the Layout element: LayoutintgetComponentLevel()Provides default X3D component level for this element: 1java.lang.StringgetContainerFieldDefault()containerField describes typical field relationship of a node to its parent.java.lang.StringgetCssClass()Provide String value from inputOutput SFString field named class.java.lang.StringgetDEF()Provide String value from inputOutput SFString field named DEF.java.lang.StringgetElementName()Provides name of this element: Layoutjava.lang.StringgetFieldType(java.lang.String fieldName)Indicate type corresponding to given fieldName.ISObjectgetIS()Provide ISObject instance (using a properly typed node) from inputOutput SFNode field IS.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float[]getOffset()Provide array of Float results from inputOutput MFFloat field named offset.java.util.ArrayList<java.lang.Float>getOffsetList()Utility method to get ArrayList value of MFFloat offset field, similar togetOffset().java.lang.StringgetOffsetString()Utility method to get String value of MFFloat offset field, similar togetOffset().java.lang.String[]getOffsetUnits()Provide array of String enumeration results (baseType MFString) ['"WORLD" "WORLD"' | '"WORLD" "FRACTION"' | '"WORLD" "PIXEL"' | '"FRACTION" "WORLD"' | '"FRACTION" "FRACTION"' | '"FRACTION" "PIXEL"' | '"PIXEL" "WORLD"' | '"PIXEL" "FRACTION"' | '"PIXEL" "PIXEL"'] from inputOutput MFString field named offsetUnits.java.util.ArrayList<java.lang.String>getOffsetUnitsList()Utility method to get ArrayList value of MFString offsetUnits field, similar togetOffsetUnits().java.lang.StringgetOffsetUnitsString()Utility method to get String value of MFString offsetUnits field, similar togetOffsetUnits().java.lang.String[]getScaleMode()Provide array of String enumeration results (baseType MFString) ['"NONE" "NONE"' | '"NONE" "FRACTION"' | '"NONE" "STRETCH"' | '"NONE" "PIXEL"' | '"FRACTION" "NONE"' | '"FRACTION" "FRACTION"' | '"FRACTION" "STRETCH"' | '"FRACTION" "PIXEL"' | '"STRETCH" "NONE"' | '"STRETCH" "FRACTION"' | '"STRETCH" "STRETCH"' | '"STRETCH" "PIXEL"' | '"PIXEL" "NONE"' | '"PIXEL" "FRACTION"' | '"PIXEL" "STRETCH"' | '"PIXEL" "PIXEL"'] from inputOutput MFString field named scaleMode.java.util.ArrayList<java.lang.String>getScaleModeList()Utility method to get ArrayList value of MFString scaleMode field, similar togetScaleMode().java.lang.StringgetScaleModeString()Utility method to get String value of MFString scaleMode field, similar togetScaleMode().float[]getSize()Provide array of Float results from initializeOnly MFFloat field named size.java.util.ArrayList<java.lang.Float>getSizeList()Utility method to get ArrayList value of MFFloat size field, similar togetSize().java.lang.StringgetSizeString()Utility method to get String value of MFFloat size field, similar togetSize().java.lang.String[]getSizeUnits()Provide array of String enumeration results (baseType MFString) ['"WORLD" "WORLD"' | '"WORLD" "FRACTION"' | '"WORLD" "PIXEL"' | '"FRACTION" "WORLD"' | '"FRACTION" "FRACTION"' | '"FRACTION" "PIXEL"' | '"PIXEL" "WORLD"' | '"PIXEL" "FRACTION"' | '"PIXEL" "PIXEL"'] from inputOutput MFString field named sizeUnits.java.util.ArrayList<java.lang.String>getSizeUnitsList()Utility method to get ArrayList value of MFString sizeUnits field, similar togetSizeUnits().java.lang.StringgetSizeUnitsString()Utility method to get String value of MFString sizeUnits field, similar togetSizeUnits().java.lang.StringgetUSE()Provide String value from inputOutput SFString field named USE.booleanhasElementByNameValue(java.lang.String nameValue, java.lang.String elementName)Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.booleanhasIS()Indicate whether an object is available for inputOutput SFNode field IS.booleanhasMetadata()Indicate whether an object is available for inputOutput SFNode field metadata.booleanhasNodeByDEF(java.lang.String DEFvalue)Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.voidinitialize()Initialize all member variables to default values.LayoutObjectsetAlign(java.lang.String newValue)Assign singleton String value to MFString align field, similar tosetAlign(String[]).LayoutObjectsetAlign(java.lang.String[] newValue)Accessor method to assign String enumeration array (""LEFT" "BOTTOM"" | ""LEFT" "CENTER"" | ""LEFT" "TOP"" | ""CENTER" "BOTTOM"" | ""CENTER" "CENTER"" | ""CENTER" "TOP"" | ""RIGHT" "BOTTOM"" | ""RIGHT" "CENTER"" | ""RIGHT" "TOP"") to inputOutput MFString field named align.LayoutObjectsetAlign(java.util.ArrayList<java.lang.String> newValue)Assign ArrayList value of MFString align field, similar tosetAlign(String[]).LayoutObjectsetAlign(MFStringObject newValue)Assign typed object value to MFString align field, similar tosetAlign(String[]).LayoutObjectsetAlign(SFStringObject newValue)Assign single SFString object value to MFString align field, similar tosetAlign(String[]).LayoutObjectsetCssClass(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named class.LayoutObjectsetCssClass(SFStringObject newValue)Assign typed object value to SFString cssClass field, similar tosetCssClass(String).LayoutObjectsetDEF(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named DEF.LayoutObjectsetDEF(SFStringObject newValue)Assign typed object value to SFString DEF field, similar tosetDEF(String).LayoutObjectsetIS(ISObject newValue)Accessor method to assign ISObject instance (using a properly typed node) to inputOutput SFNode field IS.LayoutObjectsetMetadata(ProtoInstanceObject newValue)Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.LayoutObjectsetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.LayoutObjectsetOffset(double[] newArray)Utility method: double-precision set-array accessor for X3D floating-point type, similar tosetOffset(float[]).LayoutObjectsetOffset(float[] newValue)Accessor method to assign Float array to inputOutput MFFloat field named offset.LayoutObjectsetOffset(int[] newValue)Assign floating-point array value of MFFloat offset field, similar tosetOffset(float[]).LayoutObjectsetOffset(java.util.ArrayList<java.lang.Float> newValue)Assign ArrayList value of MFFloat offset field, similar tosetOffset(float[]).LayoutObjectsetOffset(MFFloatObject newValue)Assign typed object value to MFFloat offset field, similar tosetOffset(float[]).LayoutObjectsetOffsetUnits(java.lang.String newValue)Assign singleton String value to MFString offsetUnits field, similar tosetOffsetUnits(String[]).LayoutObjectsetOffsetUnits(java.lang.String[] newValue)Accessor method to assign String enumeration array (""WORLD" "WORLD"" | ""WORLD" "FRACTION"" | ""WORLD" "PIXEL"" | ""FRACTION" "WORLD"" | ""FRACTION" "FRACTION"" | ""FRACTION" "PIXEL"" | ""PIXEL" "WORLD"" | ""PIXEL" "FRACTION"" | ""PIXEL" "PIXEL"") to inputOutput MFString field named offsetUnits.LayoutObjectsetOffsetUnits(java.util.ArrayList<java.lang.String> newValue)Assign ArrayList value of MFString offsetUnits field, similar tosetOffsetUnits(String[]).LayoutObjectsetOffsetUnits(MFStringObject newValue)Assign typed object value to MFString offsetUnits field, similar tosetOffsetUnits(String[]).LayoutObjectsetOffsetUnits(SFStringObject newValue)Assign single SFString object value to MFString offsetUnits field, similar tosetOffsetUnits(String[]).LayoutObjectsetScaleMode(java.lang.String newValue)Assign singleton String value to MFString scaleMode field, similar tosetScaleMode(String[]).LayoutObjectsetScaleMode(java.lang.String[] newValue)Accessor method to assign String enumeration array (""NONE" "NONE"" | ""NONE" "FRACTION"" | ""NONE" "STRETCH"" | ""NONE" "PIXEL"" | ""FRACTION" "NONE"" | ""FRACTION" "FRACTION"" | ""FRACTION" "STRETCH"" | ""FRACTION" "PIXEL"" | ""STRETCH" "NONE"" | ""STRETCH" "FRACTION"" | ""STRETCH" "STRETCH"" | ""STRETCH" "PIXEL"" | ""PIXEL" "NONE"" | ""PIXEL" "FRACTION"" | ""PIXEL" "STRETCH"" | ""PIXEL" "PIXEL"") to inputOutput MFString field named scaleMode.LayoutObjectsetScaleMode(java.util.ArrayList<java.lang.String> newValue)Assign ArrayList value of MFString scaleMode field, similar tosetScaleMode(String[]).LayoutObjectsetScaleMode(MFStringObject newValue)Assign typed object value to MFString scaleMode field, similar tosetScaleMode(String[]).LayoutObjectsetScaleMode(SFStringObject newValue)Assign single SFString object value to MFString scaleMode field, similar tosetScaleMode(String[]).LayoutObjectsetSize(double[] newArray)Utility method: double-precision set-array accessor for X3D floating-point type, similar tosetSize(float[]).LayoutObjectsetSize(float[] newValue)Accessor method to assign Float array to initializeOnly MFFloat field named size.LayoutObjectsetSize(int[] newValue)Assign floating-point array value of MFFloat size field, similar tosetSize(float[]).LayoutObjectsetSize(java.util.ArrayList<java.lang.Float> newValue)Assign ArrayList value of MFFloat size field, similar tosetSize(float[]).LayoutObjectsetSize(MFFloatObject newValue)Assign typed object value to MFFloat size field, similar tosetSize(float[]).LayoutObjectsetSizeUnits(java.lang.String newValue)Assign singleton String value to MFString sizeUnits field, similar tosetSizeUnits(String[]).LayoutObjectsetSizeUnits(java.lang.String[] newValue)Accessor method to assign String enumeration array (""WORLD" "WORLD"" | ""WORLD" "FRACTION"" | ""WORLD" "PIXEL"" | ""FRACTION" "WORLD"" | ""FRACTION" "FRACTION"" | ""FRACTION" "PIXEL"" | ""PIXEL" "WORLD"" | ""PIXEL" "FRACTION"" | ""PIXEL" "PIXEL"") to inputOutput MFString field named sizeUnits.LayoutObjectsetSizeUnits(java.util.ArrayList<java.lang.String> newValue)Assign ArrayList value of MFString sizeUnits field, similar tosetSizeUnits(String[]).LayoutObjectsetSizeUnits(MFStringObject newValue)Assign typed object value to MFString sizeUnits field, similar tosetSizeUnits(String[]).LayoutObjectsetSizeUnits(SFStringObject newValue)Assign single SFString object value to MFString sizeUnits field, similar tosetSizeUnits(String[]).LayoutObjectsetUSE(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named USE.LayoutObjectsetUSE(SFStringObject newValue)Assign typed object value to SFString USE field, similar tosetUSE(String).LayoutObjectsetUSE(LayoutObject DEFnode)Assign a USE reference to another DEF node of same node type, similar tosetUSE(String).java.lang.StringtoStringClassicVRML(int indentLevel)Recursive method to provide ClassicVRML string serialization.java.lang.StringtoStringVRML97(int indentLevel)Recursive method to provide VRML97 string serialization.java.lang.StringtoStringX3D(int indentLevel)Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.java.lang.Stringvalidate()Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.Methods inherited from class org.web3d.x3d.jsail.X3DConcreteNode
getContainerFieldAlternateValues, getContainerFieldOverride, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideMethods inherited from class org.web3d.x3d.jsail.X3DConcreteElement
clearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, hasParentObject, isValid, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3D
-
Field Details
-
ALIGN_LEFT_BOTTOM
public static final java.lang.String ALIGN_LEFT_BOTTOMMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"LEFT\" \"BOTTOM\"" (Java syntax) or '"LEFT" "BOTTOM"' (XML syntax). -
ALIGN_LEFT_CENTER
public static final java.lang.String ALIGN_LEFT_CENTERMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"LEFT\" \"CENTER\"" (Java syntax) or '"LEFT" "CENTER"' (XML syntax). -
ALIGN_LEFT_TOP
public static final java.lang.String ALIGN_LEFT_TOPMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"LEFT\" \"TOP\"" (Java syntax) or '"LEFT" "TOP"' (XML syntax). -
ALIGN_CENTER_BOTTOM
public static final java.lang.String ALIGN_CENTER_BOTTOMMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"CENTER\" \"BOTTOM\"" (Java syntax) or '"CENTER" "BOTTOM"' (XML syntax). -
ALIGN_CENTER_CENTER
public static final java.lang.String ALIGN_CENTER_CENTERMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"CENTER\" \"CENTER\"" (Java syntax) or '"CENTER" "CENTER"' (XML syntax). -
ALIGN_CENTER_TOP
public static final java.lang.String ALIGN_CENTER_TOPMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"CENTER\" \"TOP\"" (Java syntax) or '"CENTER" "TOP"' (XML syntax). -
ALIGN_RIGHT_BOTTOM
public static final java.lang.String ALIGN_RIGHT_BOTTOMMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"RIGHT\" \"BOTTOM\"" (Java syntax) or '"RIGHT" "BOTTOM"' (XML syntax). -
ALIGN_RIGHT_CENTER
public static final java.lang.String ALIGN_RIGHT_CENTERMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"RIGHT\" \"CENTER\"" (Java syntax) or '"RIGHT" "CENTER"' (XML syntax). -
ALIGN_RIGHT_TOP
public static final java.lang.String ALIGN_RIGHT_TOPMFString field named align with X3DUOM simpleType layoutAlignChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"RIGHT\" \"TOP\"" (Java syntax) or '"RIGHT" "TOP"' (XML syntax). -
OFFSETUNITS_WORLD_WORLD
public static final java.lang.String OFFSETUNITS_WORLD_WORLDMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"WORLD\"" (Java syntax) or '"WORLD" "WORLD"' (XML syntax). -
OFFSETUNITS_WORLD_FRACTION
public static final java.lang.String OFFSETUNITS_WORLD_FRACTIONMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"FRACTION\"" (Java syntax) or '"WORLD" "FRACTION"' (XML syntax). -
OFFSETUNITS_WORLD_PIXEL
public static final java.lang.String OFFSETUNITS_WORLD_PIXELMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"PIXEL\"" (Java syntax) or '"WORLD" "PIXEL"' (XML syntax). -
OFFSETUNITS_FRACTION_WORLD
public static final java.lang.String OFFSETUNITS_FRACTION_WORLDMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"WORLD\"" (Java syntax) or '"FRACTION" "WORLD"' (XML syntax). -
OFFSETUNITS_FRACTION_FRACTION
public static final java.lang.String OFFSETUNITS_FRACTION_FRACTIONMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"FRACTION\"" (Java syntax) or '"FRACTION" "FRACTION"' (XML syntax). -
OFFSETUNITS_FRACTION_PIXEL
public static final java.lang.String OFFSETUNITS_FRACTION_PIXELMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"PIXEL\"" (Java syntax) or '"FRACTION" "PIXEL"' (XML syntax). -
OFFSETUNITS_PIXEL_WORLD
public static final java.lang.String OFFSETUNITS_PIXEL_WORLDMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"WORLD\"" (Java syntax) or '"PIXEL" "WORLD"' (XML syntax). -
OFFSETUNITS_PIXEL_FRACTION
public static final java.lang.String OFFSETUNITS_PIXEL_FRACTIONMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"FRACTION\"" (Java syntax) or '"PIXEL" "FRACTION"' (XML syntax). -
OFFSETUNITS_PIXEL_PIXEL
public static final java.lang.String OFFSETUNITS_PIXEL_PIXELMFString field named offsetUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"PIXEL\"" (Java syntax) or '"PIXEL" "PIXEL"' (XML syntax). -
SCALEMODE_NONE_NONE
public static final java.lang.String SCALEMODE_NONE_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"NONE\"" (Java syntax) or '"NONE" "NONE"' (XML syntax). -
SCALEMODE_NONE_FRACTION
public static final java.lang.String SCALEMODE_NONE_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"FRACTION\"" (Java syntax) or '"NONE" "FRACTION"' (XML syntax). -
SCALEMODE_NONE_STRETCH
public static final java.lang.String SCALEMODE_NONE_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"STRETCH\"" (Java syntax) or '"NONE" "STRETCH"' (XML syntax). -
SCALEMODE_NONE_PIXEL
public static final java.lang.String SCALEMODE_NONE_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"NONE\" \"PIXEL\"" (Java syntax) or '"NONE" "PIXEL"' (XML syntax). -
SCALEMODE_FRACTION_NONE
public static final java.lang.String SCALEMODE_FRACTION_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"NONE\"" (Java syntax) or '"FRACTION" "NONE"' (XML syntax). -
SCALEMODE_FRACTION_FRACTION
public static final java.lang.String SCALEMODE_FRACTION_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"FRACTION\"" (Java syntax) or '"FRACTION" "FRACTION"' (XML syntax). -
SCALEMODE_FRACTION_STRETCH
public static final java.lang.String SCALEMODE_FRACTION_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"STRETCH\"" (Java syntax) or '"FRACTION" "STRETCH"' (XML syntax). -
SCALEMODE_FRACTION_PIXEL
public static final java.lang.String SCALEMODE_FRACTION_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"PIXEL\"" (Java syntax) or '"FRACTION" "PIXEL"' (XML syntax). -
SCALEMODE_STRETCH_NONE
public static final java.lang.String SCALEMODE_STRETCH_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"NONE\"" (Java syntax) or '"STRETCH" "NONE"' (XML syntax). -
SCALEMODE_STRETCH_FRACTION
public static final java.lang.String SCALEMODE_STRETCH_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"FRACTION\"" (Java syntax) or '"STRETCH" "FRACTION"' (XML syntax). -
SCALEMODE_STRETCH_STRETCH
public static final java.lang.String SCALEMODE_STRETCH_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"STRETCH\"" (Java syntax) or '"STRETCH" "STRETCH"' (XML syntax). -
SCALEMODE_STRETCH_PIXEL
public static final java.lang.String SCALEMODE_STRETCH_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"STRETCH\" \"PIXEL\"" (Java syntax) or '"STRETCH" "PIXEL"' (XML syntax). -
SCALEMODE_PIXEL_NONE
public static final java.lang.String SCALEMODE_PIXEL_NONEMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"NONE\"" (Java syntax) or '"PIXEL" "NONE"' (XML syntax). -
SCALEMODE_PIXEL_FRACTION
public static final java.lang.String SCALEMODE_PIXEL_FRACTIONMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"FRACTION\"" (Java syntax) or '"PIXEL" "FRACTION"' (XML syntax). -
SCALEMODE_PIXEL_STRETCH
public static final java.lang.String SCALEMODE_PIXEL_STRETCHMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"STRETCH\"" (Java syntax) or '"PIXEL" "STRETCH"' (XML syntax). -
SCALEMODE_PIXEL_PIXEL
public static final java.lang.String SCALEMODE_PIXEL_PIXELMFString field named scaleMode with X3DUOM simpleType layoutScaleModeChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"PIXEL\"" (Java syntax) or '"PIXEL" "PIXEL"' (XML syntax). -
SIZEUNITS_WORLD_WORLD
public static final java.lang.String SIZEUNITS_WORLD_WORLDMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"WORLD\"" (Java syntax) or '"WORLD" "WORLD"' (XML syntax). -
SIZEUNITS_WORLD_FRACTION
public static final java.lang.String SIZEUNITS_WORLD_FRACTIONMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"FRACTION\"" (Java syntax) or '"WORLD" "FRACTION"' (XML syntax). -
SIZEUNITS_WORLD_PIXEL
public static final java.lang.String SIZEUNITS_WORLD_PIXELMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"WORLD\" \"PIXEL\"" (Java syntax) or '"WORLD" "PIXEL"' (XML syntax). -
SIZEUNITS_FRACTION_WORLD
public static final java.lang.String SIZEUNITS_FRACTION_WORLDMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"WORLD\"" (Java syntax) or '"FRACTION" "WORLD"' (XML syntax). -
SIZEUNITS_FRACTION_FRACTION
public static final java.lang.String SIZEUNITS_FRACTION_FRACTIONMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"FRACTION\"" (Java syntax) or '"FRACTION" "FRACTION"' (XML syntax). -
SIZEUNITS_FRACTION_PIXEL
public static final java.lang.String SIZEUNITS_FRACTION_PIXELMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"FRACTION\" \"PIXEL\"" (Java syntax) or '"FRACTION" "PIXEL"' (XML syntax). -
SIZEUNITS_PIXEL_WORLD
public static final java.lang.String SIZEUNITS_PIXEL_WORLDMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"WORLD\"" (Java syntax) or '"PIXEL" "WORLD"' (XML syntax). -
SIZEUNITS_PIXEL_FRACTION
public static final java.lang.String SIZEUNITS_PIXEL_FRACTIONMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"FRACTION\"" (Java syntax) or '"PIXEL" "FRACTION"' (XML syntax). -
SIZEUNITS_PIXEL_PIXEL
public static final java.lang.String SIZEUNITS_PIXEL_PIXELMFString field named sizeUnits with X3DUOM simpleType layoutUnitsChoices and with X3DUOM baseType MFString is an array that can only include one set of the quoted enumeration values "\"PIXEL\" \"PIXEL\"" (Java syntax) or '"PIXEL" "PIXEL"' (XML syntax). -
NAME
public static final java.lang.String NAMEString constant NAME provides name of this element: Layout.- See Also:
- Constant Field Values
-
COMPONENT
public static final java.lang.String COMPONENTString constant COMPONENT defines X3D component for the Layout element: Layout- See Also:
- Constant Field Values
-
LEVEL
public static final int LEVELInteger constant LEVEL provides default X3D Layout component level for this element: 1- See Also:
- Constant Field Values
-
ALIGN_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> ALIGN_DEFAULT_VALUEMFString field named align has default quoted value new String[] {"CENTER","CENTER"} (Java syntax) or quoted value "CENTER" "CENTER" (XML syntax). -
IS_DEFAULT_VALUE
SFNode field named IS has default value null (Java syntax) or NULL (XML syntax). -
METADATA_DEFAULT_VALUE
SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax). -
OFFSET_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.Float> OFFSET_DEFAULT_VALUEMFFloat field named offset has default value {0f,0f} (Java syntax) or 0 0 (XML syntax). -
OFFSETUNITS_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> OFFSETUNITS_DEFAULT_VALUEMFString field named offsetUnits has default quoted value new String[] {"WORLD","WORLD"} (Java syntax) or quoted value "WORLD" "WORLD" (XML syntax). -
SCALEMODE_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> SCALEMODE_DEFAULT_VALUEMFString field named scaleMode has default quoted value new String[] {"NONE","NONE"} (Java syntax) or quoted value "NONE" "NONE" (XML syntax). -
SIZE_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.Float> SIZE_DEFAULT_VALUEMFFloat field named size has default value {1f,1f} (Java syntax) or 1 1 (XML syntax). -
SIZEUNITS_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> SIZEUNITS_DEFAULT_VALUEMFString field named sizeUnits has default quoted value new String[] {"WORLD","WORLD"} (Java syntax) or quoted value "WORLD" "WORLD" (XML syntax). -
containerField_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUEcontainerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes. -
fromField_ALIGN
public static final java.lang.String fromField_ALIGNfromField ROUTE name for MFString field named align.- See Also:
- Constant Field Values
-
toField_ALIGN
public static final java.lang.String toField_ALIGNtoField ROUTE name for MFString field named align.- See Also:
- Constant Field Values
-
fromField_IS
public static final java.lang.String fromField_ISfromField ROUTE name for SFNode field named IS.- See Also:
- Constant Field Values
-
fromField_METADATA
public static final java.lang.String fromField_METADATAfromField ROUTE name for SFNode field named metadata.- See Also:
- Constant Field Values
-
toField_METADATA
public static final java.lang.String toField_METADATAtoField ROUTE name for SFNode field named metadata.- See Also:
- Constant Field Values
-
fromField_OFFSET
public static final java.lang.String fromField_OFFSETfromField ROUTE name for MFFloat field named offset.- See Also:
- Constant Field Values
-
toField_OFFSET
public static final java.lang.String toField_OFFSETtoField ROUTE name for MFFloat field named offset.- See Also:
- Constant Field Values
-
fromField_OFFSETUNITS
public static final java.lang.String fromField_OFFSETUNITSfromField ROUTE name for MFString field named offsetUnits.- See Also:
- Constant Field Values
-
toField_OFFSETUNITS
public static final java.lang.String toField_OFFSETUNITStoField ROUTE name for MFString field named offsetUnits.- See Also:
- Constant Field Values
-
fromField_SCALEMODE
public static final java.lang.String fromField_SCALEMODEfromField ROUTE name for MFString field named scaleMode.- See Also:
- Constant Field Values
-
toField_SCALEMODE
public static final java.lang.String toField_SCALEMODEtoField ROUTE name for MFString field named scaleMode.- See Also:
- Constant Field Values
-
fromField_SIZEUNITS
public static final java.lang.String fromField_SIZEUNITSfromField ROUTE name for MFString field named sizeUnits.- See Also:
- Constant Field Values
-
toField_SIZEUNITS
public static final java.lang.String toField_SIZEUNITStoField ROUTE name for MFString field named sizeUnits.- See Also:
- Constant Field Values
-
-
Constructor Details
-
LayoutObject
public LayoutObject()Constructor for LayoutObject to initialize member variables with default values. -
LayoutObject
public LayoutObject(java.lang.String DEFlabel)Utility constructor that assigns DEF label after initializing member variables with default values.- Parameters:
DEFlabel- unique DEF name for this X3D node
-
-
Method Details
-
getElementName
public final java.lang.String getElementName()Provides name of this element: Layout- Specified by:
getElementNamein classX3DConcreteElement- Returns:
- name of this element
-
getComponent
public final java.lang.String getComponent()Defines X3D component for the Layout element: Layout- Specified by:
getComponentin classX3DConcreteElement- Returns:
- X3D component for this element
-
getComponentLevel
public final int getComponentLevel()Provides default X3D component level for this element: 1- Specified by:
getComponentLevelin classX3DConcreteElement- Returns:
- default X3D component level for this element
-
getFieldType
public java.lang.String getFieldType(java.lang.String fieldName)Indicate type corresponding to given fieldName.- Specified by:
getFieldTypein classX3DConcreteElement- Parameters:
fieldName- name of field in this X3D node- Returns:
- X3D type (SFvec3f etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE if not recognized
- See Also:
ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE
-
getAccessType
public java.lang.String getAccessType(java.lang.String fieldName)Indicate accessType corresponding to given fieldName.- Specified by:
getAccessTypein classX3DConcreteElement- Parameters:
fieldName- name of field in this X3D node- Returns:
- X3D accessType (inputOnly etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE if not recognized
- See Also:
ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE
-
getContainerFieldDefault
public final java.lang.String getContainerFieldDefault()containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes.- Specified by:
getContainerFieldDefaultin classX3DConcreteNode- Returns:
- default containerField value
- See Also:
- X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM)
-
initialize
public final void initialize()Initialize all member variables to default values.- Overrides:
initializein classX3DConcreteNode
-
getAlign
public java.lang.String[] getAlign()Provide array of String enumeration results (baseType MFString) ['"LEFT" "BOTTOM"' | '"LEFT" "CENTER"' | '"LEFT" "TOP"' | '"CENTER" "BOTTOM"' | '"CENTER" "CENTER"' | '"CENTER" "TOP"' | '"RIGHT" "BOTTOM"' | '"RIGHT" "CENTER"' | '"RIGHT" "TOP"'] from inputOutput MFString field named align.
Tooltip: The align field values align the sized rectangle to an edge or center of the parent rectangle. Two quoted string values are provided. The first value is for horizontal direction (LEFT | CENTER | RIGHT) and the second value is for vertical direction (BOTTOM | CENTER | TOP). Examples: "CENTER" "CENTER" (default value), "LEFT" "TOP" or "RIGHT" "BOTTOM".- Warning: two values (or possibly one value) only.
- Warning: if the align field has only one value, that value shall be "CENTER" and apply both horizontally and vertically.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
Available enumeration values for string comparison:LEFT_BOTTOM,LEFT_CENTER,LEFT_TOP,CENTER_BOTTOM,CENTER_CENTER,CENTER_TOP,RIGHT_BOTTOM,RIGHT_CENTER,RIGHT_TOP. -
getAlignList
public java.util.ArrayList<java.lang.String> getAlignList()Utility method to get ArrayList value of MFString align field, similar togetAlign().- Returns:
- value of align field
-
getAlignString
public java.lang.String getAlignString()Utility method to get String value of MFString align field, similar togetAlign().- Returns:
- value of align field
-
setAlign
Accessor method to assign String enumeration array (""LEFT" "BOTTOM"" | ""LEFT" "CENTER"" | ""LEFT" "TOP"" | ""CENTER" "BOTTOM"" | ""CENTER" "CENTER"" | ""CENTER" "TOP"" | ""RIGHT" "BOTTOM"" | ""RIGHT" "CENTER"" | ""RIGHT" "TOP"") to inputOutput MFString field named align.
Warning: authors can only choose from a strict list of enumeration values (LEFT_BOTTOM,LEFT_CENTER,LEFT_TOP,CENTER_BOTTOM,CENTER_CENTER,CENTER_TOP,RIGHT_BOTTOM,RIGHT_CENTER,RIGHT_TOP).
Tooltip: The align field values align the sized rectangle to an edge or center of the parent rectangle. Two quoted string values are provided. The first value is for horizontal direction (LEFT | CENTER | RIGHT) and the second value is for vertical direction (BOTTOM | CENTER | TOP). Examples: "CENTER" "CENTER" (default value), "LEFT" "TOP" or "RIGHT" "BOTTOM".- Warning: two values (or possibly one value) only.
- Warning: if the align field has only one value, that value shall be "CENTER" and apply both horizontally and vertically.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Specified by:
setAlignin interfaceLayout- Parameters:
newValue- is new value for the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setAlign
Assign typed object value to MFString align field, similar tosetAlign(String[]).- Parameters:
newValue- is new value for the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setAlign
Assign single SFString object value to MFString align field, similar tosetAlign(String[]).- Parameters:
newValue- is new value for the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setAlign
Assign singleton String value to MFString align field, similar tosetAlign(String[]).- Parameters:
newValue- is new value for the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setAlign
Assign ArrayList value of MFString align field, similar tosetAlign(String[]).- Parameters:
newValue- is new value for the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearAlign
Utility method to clear MFString value of align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addAlign
Add singleton String value to MFString align field.- Parameters:
newValue- is new value to add to the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
addAlign
Add singleton SFStringObject value to MFString align field.- Parameters:
newValue- is new value to add to the align field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
getIS
Provide ISObject instance (using a properly typed node) from inputOutput SFNode field IS.- Specified by:
getISin classX3DConcreteNode- Returns:
- value of IS field
- See Also:
- X3D Tooltips: IS, X3D Tooltips: connect
-
setIS
Accessor method to assign ISObject instance (using a properly typed node) to inputOutput SFNode field IS.- Specified by:
setISin classX3DConcreteNode- Parameters:
newValue- is new value for the IS field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Tooltips: IS, X3D Tooltips: connect
-
clearIS
Utility method to clear SFNode value of IS field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
hasIS
public boolean hasIS()Indicate whether an object is available for inputOutput SFNode field IS.- Returns:
- whether a concrete statement or CommentsBlock is available.
- See Also:
getIS()
-
getMetadata
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceLayout- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DLayoutNode- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node. Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#Metadata, X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceLayout- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DLayoutNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain classX3DConcreteNode- Parameters:
newValue- is new value for the metadata field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node. Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#Metadata, X3D Scene Authoring Hints: Metadata Nodes
-
clearMetadata
Utility method to clear SFNode value of metadata field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
setMetadata
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain classX3DConcreteNode- Parameters:
newValue- is new value for the metadata field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
setMetadata(X3DMetadataObject)
-
hasMetadata
public boolean hasMetadata()Indicate whether an object is available for inputOutput SFNode field metadata.- Returns:
- whether a properly typed node or ProtoInstance or CommentsBlock is available.
- See Also:
getMetadata(),getMetadataProtoInstance(), X3D Scene Authoring Hints: Metadata Nodes
-
getOffset
public float[] getOffset()Provide array of Float results from inputOutput MFFloat field named offset.
Tooltip: (-infinity,+infinity) The values of the offset field are used to translate the location of this rectangle after the initial alignment. The offsetUnits field specifies how to interpret the offset field.- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
-
getOffsetList
public java.util.ArrayList<java.lang.Float> getOffsetList()Utility method to get ArrayList value of MFFloat offset field, similar togetOffset().- Returns:
- value of offset field
-
getOffsetString
public java.lang.String getOffsetString()Utility method to get String value of MFFloat offset field, similar togetOffset().- Returns:
- value of offset field
-
setOffset
Accessor method to assign Float array to inputOutput MFFloat field named offset.
Tooltip: (-infinity,+infinity) The values of the offset field are used to translate the location of this rectangle after the initial alignment. The offsetUnits field specifies how to interpret the offset field.- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Specified by:
setOffsetin interfaceLayout- Parameters:
newValue- is new value for the offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setOffset
Assign typed object value to MFFloat offset field, similar tosetOffset(float[]).- Parameters:
newValue- is new value for the offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setOffset
Assign ArrayList value of MFFloat offset field, similar tosetOffset(float[]).- Parameters:
newValue- is new value for the offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearOffset
Utility method to clear MFFloat value of offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
setOffset
Assign floating-point array value of MFFloat offset field, similar tosetOffset(float[]).- Parameters:
newValue- is new value for the offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addOffset
Add singleton float value to MFFloat offset field.- Parameters:
newValue- is new value to add to the offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addOffset
Add singleton SFFloatObject value to MFFloat offset field.- Parameters:
newValue- is new value to add to the offset field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setOffset
Utility method: double-precision set-array accessor for X3D floating-point type, similar tosetOffset(float[]).- Parameters:
newArray- is new value for field- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getOffsetUnits
public java.lang.String[] getOffsetUnits()Provide array of String enumeration results (baseType MFString) ['"WORLD" "WORLD"' | '"WORLD" "FRACTION"' | '"WORLD" "PIXEL"' | '"FRACTION" "WORLD"' | '"FRACTION" "FRACTION"' | '"FRACTION" "PIXEL"' | '"PIXEL" "WORLD"' | '"PIXEL" "FRACTION"' | '"PIXEL" "PIXEL"'] from inputOutput MFString field named offsetUnits.
Tooltip: The offsetUnits field values are used to interprete the offset values. Two quoted string values are provided. The first value is for horizontal offset, and the second value is for vertical offset. Examples: "WORLD" "WORLD" (default value), "FRACTION" "FRACTION" or "PIXEL" "PIXEL".- Hint: If the value of the offsetUnits field is FRACTION, the size of the corresponding dimension is interpreted as a fraction of the corresponding parent’s dimension.
- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
Available enumeration values for string comparison:WORLD_WORLD,WORLD_FRACTION,WORLD_PIXEL,FRACTION_WORLD,FRACTION_FRACTION,FRACTION_PIXEL,PIXEL_WORLD,PIXEL_FRACTION,PIXEL_PIXEL.- Specified by:
getOffsetUnitsin interfaceLayout- Returns:
- value of offsetUnits field
-
getOffsetUnitsList
public java.util.ArrayList<java.lang.String> getOffsetUnitsList()Utility method to get ArrayList value of MFString offsetUnits field, similar togetOffsetUnits().- Returns:
- value of offsetUnits field
-
getOffsetUnitsString
public java.lang.String getOffsetUnitsString()Utility method to get String value of MFString offsetUnits field, similar togetOffsetUnits().- Returns:
- value of offsetUnits field
-
setOffsetUnits
Accessor method to assign String enumeration array (""WORLD" "WORLD"" | ""WORLD" "FRACTION"" | ""WORLD" "PIXEL"" | ""FRACTION" "WORLD"" | ""FRACTION" "FRACTION"" | ""FRACTION" "PIXEL"" | ""PIXEL" "WORLD"" | ""PIXEL" "FRACTION"" | ""PIXEL" "PIXEL"") to inputOutput MFString field named offsetUnits.
Warning: authors can only choose from a strict list of enumeration values (WORLD_WORLD,WORLD_FRACTION,WORLD_PIXEL,FRACTION_WORLD,FRACTION_FRACTION,FRACTION_PIXEL,PIXEL_WORLD,PIXEL_FRACTION,PIXEL_PIXEL).
Tooltip: The offsetUnits field values are used to interprete the offset values. Two quoted string values are provided. The first value is for horizontal offset, and the second value is for vertical offset. Examples: "WORLD" "WORLD" (default value), "FRACTION" "FRACTION" or "PIXEL" "PIXEL".- Hint: If the value of the offsetUnits field is FRACTION, the size of the corresponding dimension is interpreted as a fraction of the corresponding parent’s dimension.
- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Specified by:
setOffsetUnitsin interfaceLayout- Parameters:
newValue- is new value for the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setOffsetUnits
Assign typed object value to MFString offsetUnits field, similar tosetOffsetUnits(String[]).- Parameters:
newValue- is new value for the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setOffsetUnits
Assign single SFString object value to MFString offsetUnits field, similar tosetOffsetUnits(String[]).- Parameters:
newValue- is new value for the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setOffsetUnits
Assign singleton String value to MFString offsetUnits field, similar tosetOffsetUnits(String[]).- Parameters:
newValue- is new value for the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setOffsetUnits
Assign ArrayList value of MFString offsetUnits field, similar tosetOffsetUnits(String[]).- Parameters:
newValue- is new value for the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearOffsetUnits
Utility method to clear MFString value of offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addOffsetUnits
Add singleton String value to MFString offsetUnits field.- Parameters:
newValue- is new value to add to the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
addOffsetUnits
Add singleton SFStringObject value to MFString offsetUnits field.- Parameters:
newValue- is new value to add to the offsetUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
getScaleMode
public java.lang.String[] getScaleMode()Provide array of String enumeration results (baseType MFString) ['"NONE" "NONE"' | '"NONE" "FRACTION"' | '"NONE" "STRETCH"' | '"NONE" "PIXEL"' | '"FRACTION" "NONE"' | '"FRACTION" "FRACTION"' | '"FRACTION" "STRETCH"' | '"FRACTION" "PIXEL"' | '"STRETCH" "NONE"' | '"STRETCH" "FRACTION"' | '"STRETCH" "STRETCH"' | '"STRETCH" "PIXEL"' | '"PIXEL" "NONE"' | '"PIXEL" "FRACTION"' | '"PIXEL" "STRETCH"' | '"PIXEL" "PIXEL"'] from inputOutput MFString field named scaleMode.
Tooltip: The scaleMode field specifies how the scale of the parent is modified. Two quoted string values are provided. The first value is for horizontal scale and the second value is for vertical scale. Examples: "NONE" "NONE" (default value), "FRACTION" "FRACTION", "STRETCH" "STRETCH" or "PIXEL" "PIXEL".- Hint: A scaleMode field value of NONE specifies that the corresponding scale value is not modified. Instead, the scale is inherited from its parent. Since a LayoutLayer node does not have a parent, the value of NONE reverts to FRACTION.
- Hint: A scaleMode value of FRACTION specifies a scale in the corresponding direction so that one unit is equal to the dimension (width or height) of this rectangle.
- Hint: a scaleMode value of STRETCH specifies a scale in the corresponding direction such that the resulting scale in the horizontal direction is equal to the scale in the vertical direction, thus producing a uniform scale.
- Hint: a value of PIXEL specifies a scale in the corresponding direction such that one unit is equal to one pixel.
- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
Available enumeration values for string comparison:NONE_NONE,NONE_FRACTION,NONE_STRETCH,NONE_PIXEL,FRACTION_NONE,FRACTION_FRACTION,FRACTION_STRETCH,FRACTION_PIXEL,STRETCH_NONE,STRETCH_FRACTION,STRETCH_STRETCH,STRETCH_PIXEL,PIXEL_NONE,PIXEL_FRACTION,PIXEL_STRETCH,PIXEL_PIXEL.- Specified by:
getScaleModein interfaceLayout- Returns:
- value of scaleMode field
-
getScaleModeList
public java.util.ArrayList<java.lang.String> getScaleModeList()Utility method to get ArrayList value of MFString scaleMode field, similar togetScaleMode().- Returns:
- value of scaleMode field
-
getScaleModeString
public java.lang.String getScaleModeString()Utility method to get String value of MFString scaleMode field, similar togetScaleMode().- Returns:
- value of scaleMode field
-
setScaleMode
Accessor method to assign String enumeration array (""NONE" "NONE"" | ""NONE" "FRACTION"" | ""NONE" "STRETCH"" | ""NONE" "PIXEL"" | ""FRACTION" "NONE"" | ""FRACTION" "FRACTION"" | ""FRACTION" "STRETCH"" | ""FRACTION" "PIXEL"" | ""STRETCH" "NONE"" | ""STRETCH" "FRACTION"" | ""STRETCH" "STRETCH"" | ""STRETCH" "PIXEL"" | ""PIXEL" "NONE"" | ""PIXEL" "FRACTION"" | ""PIXEL" "STRETCH"" | ""PIXEL" "PIXEL"") to inputOutput MFString field named scaleMode.
Warning: authors can only choose from a strict list of enumeration values (NONE_NONE,NONE_FRACTION,NONE_STRETCH,NONE_PIXEL,FRACTION_NONE,FRACTION_FRACTION,FRACTION_STRETCH,FRACTION_PIXEL,STRETCH_NONE,STRETCH_FRACTION,STRETCH_STRETCH,STRETCH_PIXEL,PIXEL_NONE,PIXEL_FRACTION,PIXEL_STRETCH,PIXEL_PIXEL).
Tooltip: The scaleMode field specifies how the scale of the parent is modified. Two quoted string values are provided. The first value is for horizontal scale and the second value is for vertical scale. Examples: "NONE" "NONE" (default value), "FRACTION" "FRACTION", "STRETCH" "STRETCH" or "PIXEL" "PIXEL".- Hint: A scaleMode field value of NONE specifies that the corresponding scale value is not modified. Instead, the scale is inherited from its parent. Since a LayoutLayer node does not have a parent, the value of NONE reverts to FRACTION.
- Hint: A scaleMode value of FRACTION specifies a scale in the corresponding direction so that one unit is equal to the dimension (width or height) of this rectangle.
- Hint: a scaleMode value of STRETCH specifies a scale in the corresponding direction such that the resulting scale in the horizontal direction is equal to the scale in the vertical direction, thus producing a uniform scale.
- Hint: a value of PIXEL specifies a scale in the corresponding direction such that one unit is equal to one pixel.
- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Specified by:
setScaleModein interfaceLayout- Parameters:
newValue- is new value for the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setScaleMode
Assign typed object value to MFString scaleMode field, similar tosetScaleMode(String[]).- Parameters:
newValue- is new value for the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setScaleMode
Assign single SFString object value to MFString scaleMode field, similar tosetScaleMode(String[]).- Parameters:
newValue- is new value for the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setScaleMode
Assign singleton String value to MFString scaleMode field, similar tosetScaleMode(String[]).- Parameters:
newValue- is new value for the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setScaleMode
Assign ArrayList value of MFString scaleMode field, similar tosetScaleMode(String[]).- Parameters:
newValue- is new value for the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearScaleMode
Utility method to clear MFString value of scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addScaleMode
Add singleton String value to MFString scaleMode field.- Parameters:
newValue- is new value to add to the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
addScaleMode
Add singleton SFStringObject value to MFString scaleMode field.- Parameters:
newValue- is new value to add to the scaleMode field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
getSize
public float[] getSize()Provide array of Float results from initializeOnly MFFloat field named size.
Tooltip: (0,+infinity) The two values in the size field define the width and height of the layout rectangle. The sizeUnits field specifies how to interpret the size values.- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
-
getSizeList
public java.util.ArrayList<java.lang.Float> getSizeList()Utility method to get ArrayList value of MFFloat size field, similar togetSize().- Returns:
- value of size field
-
getSizeString
public java.lang.String getSizeString()Utility method to get String value of MFFloat size field, similar togetSize().- Returns:
- value of size field
-
setSize
Accessor method to assign Float array to initializeOnly MFFloat field named size.
Tooltip: (0,+infinity) The two values in the size field define the width and height of the layout rectangle. The sizeUnits field specifies how to interpret the size values.- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Specified by:
setSizein interfaceLayout- Parameters:
newValue- is new value for the size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSize
Assign typed object value to MFFloat size field, similar tosetSize(float[]).- Parameters:
newValue- is new value for the size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSize
Assign ArrayList value of MFFloat size field, similar tosetSize(float[]).- Parameters:
newValue- is new value for the size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearSize
Utility method to clear MFFloat value of size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
setSize
Assign floating-point array value of MFFloat size field, similar tosetSize(float[]).- Parameters:
newValue- is new value for the size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addSize
Add singleton float value to MFFloat size field.- Parameters:
newValue- is new value to add to the size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addSize
Add singleton SFFloatObject value to MFFloat size field.- Parameters:
newValue- is new value to add to the size field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSize
Utility method: double-precision set-array accessor for X3D floating-point type, similar tosetSize(float[]).- Parameters:
newArray- is new value for field- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSizeUnits
public java.lang.String[] getSizeUnits()Provide array of String enumeration results (baseType MFString) ['"WORLD" "WORLD"' | '"WORLD" "FRACTION"' | '"WORLD" "PIXEL"' | '"FRACTION" "WORLD"' | '"FRACTION" "FRACTION"' | '"FRACTION" "PIXEL"' | '"PIXEL" "WORLD"' | '"PIXEL" "FRACTION"' | '"PIXEL" "PIXEL"'] from inputOutput MFString field named sizeUnits.
Tooltip: The sizeUnits field values are used to interprete the offset values. Two quoted string values are provided. The first value is for horizontal size, and the second value is for vertical size. Examples: "WORLD" "WORLD" (default value), "FRACTION" "FRACTION" or "PIXEL" "PIXEL".- Hint: If the value of the sizeUnits field is FRACTION, the size of the corresponding dimension is interpreted as a fraction of the corresponding parent’s dimension.
- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
Available enumeration values for string comparison:WORLD_WORLD,WORLD_FRACTION,WORLD_PIXEL,FRACTION_WORLD,FRACTION_FRACTION,FRACTION_PIXEL,PIXEL_WORLD,PIXEL_FRACTION,PIXEL_PIXEL.- Specified by:
getSizeUnitsin interfaceLayout- Returns:
- value of sizeUnits field
-
getSizeUnitsList
public java.util.ArrayList<java.lang.String> getSizeUnitsList()Utility method to get ArrayList value of MFString sizeUnits field, similar togetSizeUnits().- Returns:
- value of sizeUnits field
-
getSizeUnitsString
public java.lang.String getSizeUnitsString()Utility method to get String value of MFString sizeUnits field, similar togetSizeUnits().- Returns:
- value of sizeUnits field
-
setSizeUnits
Accessor method to assign String enumeration array (""WORLD" "WORLD"" | ""WORLD" "FRACTION"" | ""WORLD" "PIXEL"" | ""FRACTION" "WORLD"" | ""FRACTION" "FRACTION"" | ""FRACTION" "PIXEL"" | ""PIXEL" "WORLD"" | ""PIXEL" "FRACTION"" | ""PIXEL" "PIXEL"") to inputOutput MFString field named sizeUnits.
Warning: authors can only choose from a strict list of enumeration values (WORLD_WORLD,WORLD_FRACTION,WORLD_PIXEL,FRACTION_WORLD,FRACTION_FRACTION,FRACTION_PIXEL,PIXEL_WORLD,PIXEL_FRACTION,PIXEL_PIXEL).
Tooltip: The sizeUnits field values are used to interprete the offset values. Two quoted string values are provided. The first value is for horizontal size, and the second value is for vertical size. Examples: "WORLD" "WORLD" (default value), "FRACTION" "FRACTION" or "PIXEL" "PIXEL".- Hint: If the value of the sizeUnits field is FRACTION, the size of the corresponding dimension is interpreted as a fraction of the corresponding parent’s dimension.
- Warning: if only one value is provided, it applies equally to horizontal and vertical directions (width and height). More than two values are not allowed.
- Hint: MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
- Specified by:
setSizeUnitsin interfaceLayout- Parameters:
newValue- is new value for the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSizeUnits
Assign typed object value to MFString sizeUnits field, similar tosetSizeUnits(String[]).- Parameters:
newValue- is new value for the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setSizeUnits
Assign single SFString object value to MFString sizeUnits field, similar tosetSizeUnits(String[]).- Parameters:
newValue- is new value for the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setSizeUnits
Assign singleton String value to MFString sizeUnits field, similar tosetSizeUnits(String[]).- Parameters:
newValue- is new value for the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
setSizeUnits
Assign ArrayList value of MFString sizeUnits field, similar tosetSizeUnits(String[]).- Parameters:
newValue- is new value for the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
clearSizeUnits
Utility method to clear MFString value of sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addSizeUnits
Add singleton String value to MFString sizeUnits field.- Parameters:
newValue- is new value to add to the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
addSizeUnits
Add singleton SFStringObject value to MFString sizeUnits field.- Parameters:
newValue- is new value to add to the sizeUnits field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
MFStringObject.cleanupEnumerationValues(String)
-
getDEF
public java.lang.String getDEF()Provide String value from inputOutput SFString field named DEF.
Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.- Hint: descriptive DEF names improve clarity and help document a model.
- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
- Overrides:
getDEFin classX3DConcreteNode- Returns:
- value of DEF field
- See Also:
- X3D Scene Authoring Hints: Naming Conventions
-
setDEF
Accessor method to assign String value to inputOutput SFString field named DEF.
Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.- Hint: descriptive DEF names improve clarity and help document a model.
- Hint: well-defined names can simplify design and debugging through improved author understanding.
- Hint: X3D Scene Authoring Hints, Naming Conventions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
Note that setting the DEF value clears the USE value.- Specified by:
setDEFin classX3DConcreteNode- Parameters:
newValue- is new value for the DEF field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setDEF
Assign typed object value to SFString DEF field, similar tosetDEF(String).- Parameters:
newValue- is new value for the DEF field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUSE
public java.lang.String getUSE()Provide String value from inputOutput SFString field named USE.
Tooltip: USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).- Hint: USE references to previously defined DEF geometry (instead of duplicating nodes) can improve performance.
- Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) when defining a USE attribute.
- Warning: each USE value must match a corresponding DEF value that is defined earlier in the scene.
- Overrides:
getUSEin classX3DConcreteNode- Returns:
- value of USE field
- See Also:
- X3D Scene Authoring Hints: Naming Conventions
-
setUSE
Accessor method to assign String value to inputOutput SFString field named USE.
Tooltip: USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).- Hint: USE references to previously defined DEF geometry (instead of duplicating nodes) can improve performance.
- Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) when defining a USE attribute.
- Warning: each USE value must match a corresponding DEF value that is defined earlier in the scene.
Note: eachUSEnode is still an independent object, with theUSEvalue matching theDEFvalue in the preceding object.
Warning: invoking thesetUSE()method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.- Specified by:
setUSEin classX3DConcreteNode- Parameters:
newValue- is new value for the USE field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUSE
Assign typed object value to SFString USE field, similar tosetUSE(String).- Parameters:
newValue- is new value for the USE field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getCssClass
public java.lang.String getCssClass()Provide String value from inputOutput SFString field named class.
Tooltip: The class attribute is a space-separated list of classes, reserved for use by CSS cascading stylesheets.- Warning: currently the class attribute is only supported in XML encoding of X3D scenes.
- Hint: W3C Cascading Style Sheets https://www.w3.org/Style/CSS
- Overrides:
getCssClassin classX3DConcreteNode- Returns:
- value of class field
- See Also:
- W3C Cascading Style Sheets
-
setCssClass
Accessor method to assign String value to inputOutput SFString field named class.
Tooltip: The class attribute is a space-separated list of classes, reserved for use by CSS cascading stylesheets.- Warning: currently the class attribute is only supported in XML encoding of X3D scenes.
- Hint: W3C Cascading Style Sheets https://www.w3.org/Style/CSS
- Specified by:
setCssClassin classX3DConcreteNode- Parameters:
newValue- is new value for the class field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- W3C Cascading Style Sheets
-
setCssClass
Assign typed object value to SFString cssClass field, similar tosetCssClass(String).- Parameters:
newValue- is new value for the class field.- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setUSE
Assign a USE reference to another DEF node of same node type, similar tosetUSE(String).
Warning: note that thesetUSE()method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.- Parameters:
DEFnode- must have a DEF value defined- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
addComments
Add comment as String to contained commentsList.- Specified by:
addCommentsin classX3DConcreteElement- Parameters:
newComment- initial value- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add comments as String[] array to contained commentsList.- Specified by:
addCommentsin classX3DConcreteElement- Parameters:
newComments- array of comments- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
addComments
Add CommentsBlock to contained commentsList.- Specified by:
addCommentsin classX3DConcreteElement- Parameters:
newCommentsBlock- block of comments to add- Returns:
LayoutObject- namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
-
toStringX3D
public java.lang.String toStringX3D(int indentLevel)Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.- Specified by:
toStringX3Din classX3DConcreteElement- Parameters:
indentLevel- number of levels of indentation for this element- Returns:
- X3D string
- See Also:
X3DObject.FILE_EXTENSION_X3D,X3DObject.FILE_EXTENSION_XML,X3DObject.toStringXML(),X3DObject.toFileXML(String),X3DObject.toFileX3D(String), X3D XML Encoding, X3D Compressed Binary Encoding: X3D Canonical Form, X3D Canonicalization (C14N) Tool
-
toStringClassicVRML
public java.lang.String toStringClassicVRML(int indentLevel)Recursive method to provide ClassicVRML string serialization.- Specified by:
toStringClassicVRMLin classX3DConcreteElement- Parameters:
indentLevel- number of levels of indentation for this element- Returns:
- ClassicVRML string
- See Also:
X3DObject.FILE_EXTENSION_CLASSICVRML, X3D Resources: Virtual Reality Modeling Language (VRML) 97, Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammar
-
toStringVRML97
public java.lang.String toStringVRML97(int indentLevel)Recursive method to provide VRML97 string serialization.- Specified by:
toStringVRML97in classX3DConcreteElement- Parameters:
indentLevel- number of levels of indentation for this element- Returns:
- VRML97 string
- See Also:
X3DObject.FILE_EXTENSION_VRML97, X3D Resources: Virtual Reality Modeling Language (VRML) 97, Virtual Reality Modeling Language (VRML) 97 specification, VRML 97 v2.1 Amendment
-
findElementByNameValue
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValuein classX3DConcreteElement- Parameters:
nameValue- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found element, null otherwise
- See Also:
findNodeByDEF(String),X3DConcreteElement.hasAncestorSceneObject(),X3DConcreteElement.findAncestorX3DObject()
-
findElementByNameValue
public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.
Warning: first start with findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() to check entire model document.
Warning: more than one element may be found that has the same name, this method does not handle that case.- Specified by:
findElementByNameValuein classX3DConcreteElement- Parameters:
nameValue- is value of the name field being searched for in this element and child elements(if any)elementName- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- object reference to found element, null otherwise
- See Also:
findNodeByDEF(String),X3DConcreteElement.hasAncestorSceneObject(),X3DConcreteElement.findAncestorX3DObject()
-
hasElementByNameValue
public boolean hasElementByNameValue(java.lang.String nameValue, java.lang.String elementName)Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.- Parameters:
nameValue- is value of the name field being searched for in this element and child elements(if any)elementName- identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)- Returns:
- whether node is found
- See Also:
findElementByNameValue(String, String)
-
findNodeByDEF
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
Warning: first start with findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() to check entire model document.
Warning: more than one element may be found that has the same DEF, this method does not handle that case.- Specified by:
findNodeByDEFin classX3DConcreteElement- Parameters:
DEFvalue- is value of the name field being searched for in this element and child elements(if any)- Returns:
- object reference to found node, null otherwise
- See Also:
findElementByNameValue(String),X3DConcreteElement.hasAncestorSceneObject(),X3DConcreteElement.findAncestorX3DObject()
-
hasNodeByDEF
public boolean hasNodeByDEF(java.lang.String DEFvalue)Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.- Parameters:
DEFvalue- is value of the name field being searched for in this element and child elements(if any)- Returns:
- whether node is found
- See Also:
findNodeByDEF(String)
-
validate
public java.lang.String validate()Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.- Specified by:
validatein classX3DConcreteElement- Returns:
- validation results (if any)
-