public class AnchorObject extends X3DConcreteNode implements Anchor
| Modifier and Type | Field and Description |
|---|---|
static float[] |
BBOXCENTER_DEFAULT_VALUE
SFVec3f field named bboxCenter has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static float[] |
BBOXSIZE_DEFAULT_VALUE
SFVec3f field named bboxSize has default value {-1f,-1f,-1f} (Java syntax) or -1 -1 -1 (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT provides X3D component for this element: Networking.
|
static java.lang.String |
DESCRIPTION_DEFAULT_VALUE
SFString field named description has default value equal to an empty string.
|
static java.lang.String |
fromField_CHILDREN
fromField ROUTE name for MFNode field named children.
|
static java.lang.String |
fromField_DESCRIPTION
fromField ROUTE name for SFString field named description.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_PARAMETER
fromField ROUTE name for MFString field named parameter.
|
static java.lang.String |
fromField_URL
fromField ROUTE name for MFString field named url.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D component level for this element: 2.
|
static java.lang.String |
NAME
String constant NAME provides name of this element: Anchor.
|
static java.util.ArrayList<java.lang.String> |
PARAMETER_DEFAULT_VALUE
MFString field named parameter has default value equal to an empty list.
|
static java.lang.String |
toField_ADDCHILDREN
toField ROUTE name for MFNode field named addChildren.
|
static java.lang.String |
toField_CHILDREN
toField ROUTE name for MFNode field named children.
|
static java.lang.String |
toField_DESCRIPTION
toField ROUTE name for SFString field named description.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_PARAMETER
toField ROUTE name for MFString field named parameter.
|
static java.lang.String |
toField_REMOVECHILDREN
toField ROUTE name for MFNode field named removeChildren.
|
static java.lang.String |
toField_URL
toField ROUTE name for MFString field named url.
|
static java.util.ArrayList<java.lang.String> |
URL_DEFAULT_VALUE
MFString field named url has default value equal to an empty list.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
AnchorObject()
Constructor for AnchorObject to initialize member variables with default values.
|
AnchorObject(java.lang.String DEFname)
Utility constructor that assigns DEF name after initializing member variables with default values
|
| Modifier and Type | Method and Description |
|---|---|
AnchorObject |
addChild(X3DChildNode newValue)
Utility method to add single child element to contained array of existing children nodes (if any).
|
void |
addChildren(X3DChildNode newValue)
Add single children node to array of existing nodes (if any).
|
void |
addChildren(X3DNode[] newValue)
Add array of children nodes to array of existing nodes (if any).
|
AnchorObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to children field
|
AnchorObject |
addComments(java.lang.String newComment)
Add comment as CommentsBlock to children field
|
AnchorObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to children field
|
AnchorObject |
clearChildren()
Utility method to clear MFNode value of children field.
|
AnchorObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
AnchorObject |
clearParameter()
Utility method to clear MFString value of parameter field.
|
AnchorObject |
clearUrl()
Utility method to clear MFString value of url field.
|
X3DConcreteElement |
findElementByNameValue(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.
|
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.
|
X3DConcreteNode |
findNodeByDEF(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.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
float[] |
getBboxCenter()
Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.
|
float[] |
getBboxSize()
Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.
|
X3DNode[] |
getChildren()
Provide array of X3DChildNode results (using an array consisting of properly typed nodes or X3DPrototypeInstance objects) from inputOutput MFNode field children.
|
java.util.ArrayList<X3DChildNode> |
getChildrenList()
Utility method to get ArrayList value of MFNode children field, similar to
getChildren(). |
java.lang.String |
getComponent()
Provides X3D component for this element: Networking.
|
int |
getComponentLevel()
Provides default X3D component level for this element: 2.
|
java.lang.String |
getDescription()
Provide String value from inputOutput SFString field named description.
|
java.lang.String |
getElementName()
Provides name of this element: Anchor.
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
ProtoInstanceObject |
getMetadataProtoInstance()
Provide properly typed ProtoInstance for inputOutput SFNode field metadata, if available.
|
X3DConcreteNode |
getNodeByDEF(java.lang.String DEFname)
Recursive method to provide object reference to node by DEF name, if found as this node or in a contained node.
|
java.lang.String[] |
getParameter()
Provide array of String results from inputOutput MFString field named parameter.
|
java.util.ArrayList<java.lang.String> |
getParameterList()
Utility method to get ArrayList value of MFString parameter field, similar to
getParameter(). |
java.lang.String[] |
getUrl()
Provide array of String results from inputOutput MFString field named url.
|
java.util.ArrayList<java.lang.String> |
getUrlList()
Utility method to get ArrayList value of MFString url field, similar to
getUrl(). |
boolean |
hasChildren()
Indicate whether an object is available for inputOutput MFNode field children.
|
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.
|
boolean |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
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.
|
void |
initialize()
Initialize all member variables to default values.
|
AnchorObject |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
AnchorObject |
setBboxCenter(float x,
float y,
float z)
Assign values to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
AnchorObject |
setBboxCenter(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
AnchorObject |
setBboxSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity), or default value [-1 -1 -1], to initializeOnly SFVec3f field named bboxSize.
|
AnchorObject |
setBboxSize(float x,
float y,
float z)
Assign values to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
AnchorObject |
setBboxSize(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
AnchorObject |
setChildren(java.util.ArrayList<X3DChildNode> newValue)
Assign ArrayList value of MFNode children field, similar to
setChildren(X3DNode[]). |
void |
setChildren(X3DNode newValue)
Set single children node, replacing prior array of existing nodes (if any).
|
AnchorObject |
setChildren(X3DNode[] newValue)
Assign X3DChildNode array (using an array consisting of properly typed nodes or X3DPrototypeInstance objects) to inputOutput MFNode field children.
|
AnchorObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
AnchorObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
AnchorObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
AnchorObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
AnchorObject |
setDescription(SFStringObject newValue)
Assign typed object value to SFString description field, similar to
setDescription(String). |
AnchorObject |
setDescription(java.lang.String newValue)
Assign String value to inputOutput SFString field named description.
|
AnchorObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
AnchorObject |
setMetadata(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to metadata field;
WARNING: ProtoInstance must match acceptable node type X3DMetadataObject.
|
AnchorObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
AnchorObject |
setParameter(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString parameter field, similar to
setParameter(String[]). |
AnchorObject |
setParameter(MFStringObject newValue)
Assign typed object value to MFString parameter field, similar to
setParameter(String[]). |
AnchorObject |
setParameter(SFStringObject newValue)
Assign single SFString object value to MFString parameter field, similar to
setParameter(String[]). |
AnchorObject |
setParameter(java.lang.String newValue)
Assign singleton String value to MFString parameter field, similar to
setParameter(String[]). |
AnchorObject |
setParameter(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named parameter.
|
AnchorObject |
setUrl(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString url field, similar to
setUrl(String[]). |
AnchorObject |
setUrl(MFStringObject newValue)
Assign typed object value to MFString url field, similar to
setUrl(String[]). |
AnchorObject |
setUrl(SFStringObject newValue)
Assign single SFString object value to MFString url field, similar to
setUrl(String[]). |
AnchorObject |
setUrl(java.lang.String newValue)
Assign singleton String value to MFString url field, similar to
setUrl(String[]). |
AnchorObject |
setUrl(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named url.
|
AnchorObject |
setUSE(AnchorObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
AnchorObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
AnchorObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String |
toStringClassicVRML(int level)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int level)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int level)
Recursive method to provide X3D string serialization of this model subgraph.
|
java.lang.String |
validate()
Recursive method to validate this element plus all contained nodes and statements.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final float[] BBOXCENTER_DEFAULT_VALUE
public static final float[] BBOXSIZE_DEFAULT_VALUE
public static final java.lang.String DESCRIPTION_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> PARAMETER_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> URL_DEFAULT_VALUE
public static final java.lang.String toField_ADDCHILDREN
public static final java.lang.String fromField_CHILDREN
public static final java.lang.String toField_CHILDREN
public static final java.lang.String fromField_DESCRIPTION
public static final java.lang.String toField_DESCRIPTION
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_PARAMETER
public static final java.lang.String toField_PARAMETER
public static final java.lang.String toField_REMOVECHILDREN
public static final java.lang.String fromField_URL
public static final java.lang.String toField_URL
public AnchorObject()
public AnchorObject(java.lang.String DEFname)
DEFname - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final void initialize()
initialize in class X3DConcreteNodepublic float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectgetBboxCenter in interface X3DGroupingNodegetBboxCenter in interface Anchorpublic AnchorObject setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectsetBboxCenter in interface X3DGroupingNodesetBboxCenter in interface AnchornewValue - is new value for the bboxCenter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setBboxCenter(SFVec3fObject newValue)
setBboxCenter(float[]).newValue - is new value for the bboxCenter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setBboxCenter(float x, float y, float z)
setBboxCenter(float[]).x - first componenty - second componentz - third componentAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectgetBboxSize in interface X3DGroupingNodegetBboxSize in interface Anchorpublic AnchorObject setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectsetBboxSize in interface X3DGroupingNodesetBboxSize in interface AnchornewValue - is new value for the bboxSize field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setBboxSize(SFVec3fObject newValue)
setBboxSize(float[]).newValue - is new value for the bboxSize field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setBboxSize(float x, float y, float z)
setBboxSize(float[]).x - first componenty - second componentz - third componentAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DNode[] getChildren()
getChildren in interface X3DGroupingNodegetChildren in interface Anchorpublic java.util.ArrayList<X3DChildNode> getChildrenList()
getChildren().public AnchorObject setChildren(X3DNode[] newValue)
setChildren in interface X3DGroupingNodesetChildren in interface AnchornewValue - is new value for the children field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setChildren(java.util.ArrayList<X3DChildNode> newValue)
setChildren(X3DNode[]).newValue - is new value for the children field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public void addChildren(X3DChildNode newValue)
newValue - is new value to be appended the children field.public AnchorObject addChild(X3DChildNode newValue)
newValue - is new node value to be appended the children field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public void addChildren(X3DNode[] newValue)
addChildren in interface X3DGroupingNodeaddChildren in interface AnchornewValue - is new value array to be appended the children field.public void setChildren(X3DNode newValue)
setChildren in interface X3DGroupingNodesetChildren in interface AnchornewValue - is new node for the children field.public AnchorObject clearChildren()
AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public boolean hasChildren()
getChildren()public AnchorObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AnchorObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AnchorObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String getDescription()
getDescription in interface Anchorpublic AnchorObject setDescription(java.lang.String newValue)
setDescription in interface AnchornewValue - is new value for the description field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setDescription(SFStringObject newValue)
setDescription(String).newValue - is new value for the description field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DGroupingNodegetMetadata in interface AnchorgetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic AnchorObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DGroupingNodesetMetadata in interface AnchorsetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic AnchorObject clearMetadata()
AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public AnchorObject setMetadata(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the metadata fieldAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setMetadata(X3DMetadataObject),
X3D Scene Authoring Hints: Metadata Nodespublic ProtoInstanceObject getMetadataProtoInstance()
getMetadata(),
X3D Scene Authoring Hints: Metadata Nodespublic boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic java.lang.String[] getParameter()
getParameter in interface Anchorpublic java.util.ArrayList<java.lang.String> getParameterList()
getParameter().public AnchorObject setParameter(java.lang.String[] newValue)
setParameter in interface AnchornewValue - is new value for the parameter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setParameter(MFStringObject newValue)
setParameter(String[]).newValue - is new value for the parameter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setParameter(SFStringObject newValue)
setParameter(String[]).newValue - is new value for the parameter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setParameter(java.lang.String newValue)
setParameter(String[]).newValue - is new value for the parameter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setParameter(java.util.ArrayList<java.lang.String> newValue)
setParameter(String[]).newValue - is new value for the parameter field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject clearParameter()
AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String[] getUrl()
getUrl in interface AnchorgetUrl in interface X3DUrlObjectpublic java.util.ArrayList<java.lang.String> getUrlList()
getUrl().public AnchorObject setUrl(java.lang.String[] newValue)
setUrl in interface AnchorsetUrl in interface X3DUrlObjectnewValue - is new value for the url field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setUrl(MFStringObject newValue)
setUrl(String[]).newValue - is new value for the url field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setUrl(SFStringObject newValue)
setUrl(String[]).newValue - is new value for the url field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setUrl(java.lang.String newValue)
setUrl(String[]).newValue - is new value for the url field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setUrl(java.util.ArrayList<java.lang.String> newValue)
setUrl(String[]).newValue - is new value for the url field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject clearUrl()
AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public final AnchorObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DGroupingNodesetDEF in interface AnchorsetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public final AnchorObject setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method resets all other fields to their default values and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DGroupingNodesetUSE in interface AnchorsetUSE in class X3DConcreteNodenewValue - is new value for the USE field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public final AnchorObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DGroupingNodesetCssClass in interface AnchorsetCssClass in class X3DConcreteNodenewValue - is new value for the class field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public AnchorObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.AnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ISObject getIS()
getIS in class X3DConcreteNodepublic AnchorObject setUSE(AnchorObject DEFnode)
setUSE(String).
setUSE() method resets all other fields to their default values and also releases
all child nodes.
DEFnode - must have a DEF value definedAnchorObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public java.lang.String toStringX3D(int level)
toStringX3D in class X3DConcreteElementlevel - number of levels of indentation for this elementpublic java.lang.String toStringClassicVRML(int level)
toStringClassicVRML in class X3DConcreteElementlevel - number of levels of indentation for this elementpublic java.lang.String toStringVRML97(int level)
toStringVRML97 in class X3DConcreteElementlevel - number of levels of indentation for this elementpublic X3DConcreteNode getNodeByDEF(java.lang.String DEFname)
getNodeByDEF in class X3DConcreteNodeDEFname - DEF name of node to findpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - 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.)findNodeByDEF(String)public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
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.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String)public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.