public class NavigationInfoObject extends X3DConcreteNode implements NavigationInfo
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<java.lang.Float> |
AVATARSIZE_DEFAULT_VALUE
MFFloat field named avatarSize has default value {0.25f,1.6f,0.75f} (Java syntax) or 0.25 1.6 0.75 (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the NavigationInfo element: Navigation
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static java.lang.String |
fromField_AVATARSIZE
fromField ROUTE name for MFFloat field named avatarSize.
|
static java.lang.String |
fromField_BINDTIME
fromField ROUTE name for SFTime field named bindTime.
|
static java.lang.String |
fromField_HEADLIGHT
fromField ROUTE name for SFBool field named headlight.
|
static java.lang.String |
fromField_ISBOUND
fromField ROUTE name for SFBool field named isBound.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_SPEED
fromField ROUTE name for SFFloat field named speed.
|
static java.lang.String |
fromField_TRANSITIONCOMPLETE
fromField ROUTE name for SFBool field named transitionComplete.
|
static java.lang.String |
fromField_TRANSITIONTIME
fromField ROUTE name for SFTime field named transitionTime.
|
static java.lang.String |
fromField_TRANSITIONTYPE
fromField ROUTE name for MFString field named transitionType.
|
static java.lang.String |
fromField_TYPE
fromField ROUTE name for MFString field named type.
|
static java.lang.String |
fromField_VISIBILITYLIMIT
fromField ROUTE name for SFFloat field named visibilityLimit.
|
static boolean |
HEADLIGHT_DEFAULT_VALUE
SFBool field named headlight has default value true (Java syntax) or true (XML syntax).
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Navigation component level for this element: 1
|
static java.lang.String |
NAME
String constant NAME provides name of this element: NavigationInfo.
|
static float |
SPEED_DEFAULT_VALUE
SFFloat field named speed has default value 1f (Java syntax) or 1 (XML syntax).
|
static java.lang.String |
toField_AVATARSIZE
toField ROUTE name for MFFloat field named avatarSize.
|
static java.lang.String |
toField_HEADLIGHT
toField ROUTE name for SFBool field named headlight.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_SET_BIND
toField ROUTE name for SFBool field named set_bind.
|
static java.lang.String |
toField_SPEED
toField ROUTE name for SFFloat field named speed.
|
static java.lang.String |
toField_TRANSITIONTIME
toField ROUTE name for SFTime field named transitionTime.
|
static java.lang.String |
toField_TRANSITIONTYPE
toField ROUTE name for MFString field named transitionType.
|
static java.lang.String |
toField_TYPE
toField ROUTE name for MFString field named type.
|
static java.lang.String |
toField_VISIBILITYLIMIT
toField ROUTE name for SFFloat field named visibilityLimit.
|
static double |
TRANSITIONTIME_DEFAULT_VALUE
SFTime field named transitionTime has default value 1.0 (Java syntax) or 1.0 (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TRANSITIONTYPE_ANIMATE
MFString field named transitionType is an array that can include this quoted enumeration value new String[] {"ANIMATE"} (Java syntax) or '"ANIMATE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TRANSITIONTYPE_DEFAULT_VALUE
MFString field named transitionType has default quoted value new String[] {"LINEAR"} (Java syntax) or quoted value "LINEAR" (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TRANSITIONTYPE_LINEAR
MFString field named transitionType is an array that can include this quoted enumeration value new String[] {"LINEAR"} (Java syntax) or '"LINEAR"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TRANSITIONTYPE_TELEPORT
MFString field named transitionType is an array that can include this quoted enumeration value new String[] {"TELEPORT"} (Java syntax) or '"TELEPORT"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_ANY
MFString field named type is an array that can include this quoted enumeration value new String[] {"ANY"} (Java syntax) or '"ANY"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_DEFAULT_VALUE
MFString field named type has default quoted value new String[] {"EXAMINE","ANY"} (Java syntax) or quoted value "EXAMINE" "ANY" (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_EXAMINE
MFString field named type is an array that can include this quoted enumeration value new String[] {"EXAMINE"} (Java syntax) or '"EXAMINE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_EXPLORE
MFString field named type is an array that can include this quoted enumeration value new String[] {"EXPLORE"} (Java syntax) or '"EXPLORE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_FLY
MFString field named type is an array that can include this quoted enumeration value new String[] {"FLY"} (Java syntax) or '"FLY"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_LOOKAT
MFString field named type is an array that can include this quoted enumeration value new String[] {"LOOKAT"} (Java syntax) or '"LOOKAT"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_NONE
MFString field named type is an array that can include this quoted enumeration value new String[] {"NONE"} (Java syntax) or '"NONE"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
TYPE_WALK
MFString field named type is an array that can include this quoted enumeration value new String[] {"WALK"} (Java syntax) or '"WALK"' (XML syntax).
|
static float |
VISIBILITYLIMIT_DEFAULT_VALUE
SFFloat field named visibilityLimit has default value 0f (Java syntax) or 0 (XML syntax).
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
NavigationInfoObject()
Constructor for NavigationInfoObject to initialize member variables with default values.
|
NavigationInfoObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
NavigationInfoObject |
addAvatarSize(float newValue)
Add singleton float value to MFFloat avatarSize field.
|
NavigationInfoObject |
addAvatarSize(SFFloatObject newValue)
Add singleton SFFloatObject value to MFFloat avatarSize field.
|
NavigationInfoObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
NavigationInfoObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
NavigationInfoObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
NavigationInfoObject |
addTransitionType(SFStringObject newValue)
Add singleton SFStringObject value to MFString transitionType field.
|
NavigationInfoObject |
addTransitionType(java.lang.String newValue)
Add singleton String value to MFString transitionType field.
|
NavigationInfoObject |
addType(SFStringObject newValue)
Add singleton SFStringObject value to MFString type field.
|
NavigationInfoObject |
addType(java.lang.String newValue)
Add singleton String value to MFString type field.
|
NavigationInfoObject |
clearAvatarSize()
Utility method to clear MFFloat value of avatarSize field.
|
NavigationInfoObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
NavigationInfoObject |
clearTransitionType()
Utility method to clear MFString value of transitionType field.
|
NavigationInfoObject |
clearType()
Utility method to clear MFString value of type 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[] |
getAvatarSize()
Provide array of Float results within allowed range of [0,infinity) from inputOutput MFFloat field named avatarSize.
|
java.util.ArrayList<java.lang.Float> |
getAvatarSizeList()
Utility method to get ArrayList value of MFFloat avatarSize field, similar to
getAvatarSize(). |
double |
getBindTime()
Provide double value in seconds from outputOnly SFTime field named bindTime.
|
java.lang.String |
getComponent()
Defines X3D component for the NavigationInfo element: Navigation
|
int |
getComponentLevel()
Provides default X3D component level for this element: 1
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: NavigationInfo
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
boolean |
getHeadlight()
Provide boolean value from inputOutput SFBool field named headlight.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
boolean |
getIsBound()
Provide boolean value from outputOnly SFBool field named isBound.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getSpeed()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named speed.
|
boolean |
getTransitionComplete()
Provide boolean value from outputOnly SFBool field named transitionComplete.
|
double |
getTransitionTime()
Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named transitionTime.
|
java.lang.String[] |
getTransitionType()
Provide array of String enumeration results with quoted value(s) ["TELEPORT","LINEAR","ANIMATE",...] from inputOutput MFString field named transitionType.
|
java.util.ArrayList<java.lang.String> |
getTransitionTypeList()
Utility method to get ArrayList value of MFString transitionType field, similar to
getTransitionType(). |
java.lang.String[] |
getType()
Provide array of String enumeration results with quoted value(s) ["ANY","WALK","EXAMINE","FLY","LOOKAT","NONE","EXPLORE",...] from inputOutput MFString field named type.
|
java.util.ArrayList<java.lang.String> |
getTypeList()
Utility method to get ArrayList value of MFString type field, similar to
getType(). |
float |
getVisibilityLimit()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named visibilityLimit.
|
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.
|
NavigationInfoObject |
setAvatarSize(java.util.ArrayList<java.lang.Float> newValue)
Assign ArrayList value of MFFloat avatarSize field, similar to
setAvatarSize(float[]). |
NavigationInfoObject |
setAvatarSize(float[] newValue)
Assign Float array within allowed range of [0,infinity) to inputOutput MFFloat field named avatarSize.
|
NavigationInfoObject |
setAvatarSize(int[] newValue)
Assign floating-point array value of MFFloat avatarSize field, similar to
setAvatarSize(float[]). |
NavigationInfoObject |
setAvatarSize(MFFloatObject newValue)
Assign typed object value to MFFloat avatarSize field, similar to
setAvatarSize(float[]). |
NavigationInfoObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
NavigationInfoObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
NavigationInfoObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
NavigationInfoObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
NavigationInfoObject |
setHeadlight(boolean newValue)
Assign boolean value to inputOutput SFBool field named headlight.
|
NavigationInfoObject |
setHeadlight(SFBoolObject newValue)
Assign typed object value to SFBool headlight field, similar to
setHeadlight(boolean). |
NavigationInfoObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
NavigationInfoObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
NavigationInfoObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
NavigationInfoObject |
setSpeed(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named speed.
|
NavigationInfoObject |
setSpeed(SFFloatObject newValue)
Assign typed object value to SFFloat speed field, similar to
setSpeed(float). |
NavigationInfoObject |
setTransitionTime(double newValue)
Assign double value in seconds within allowed range of [0,infinity) to inputOutput SFTime field named transitionTime.
|
NavigationInfoObject |
setTransitionTime(SFTimeObject newValue)
Assign typed object value to SFTime transitionTime field, similar to
setTransitionTime(double). |
NavigationInfoObject |
setTransitionType(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString transitionType field, similar to
setTransitionType(String[]). |
NavigationInfoObject |
setTransitionType(MFStringObject newValue)
Assign typed object value to MFString transitionType field, similar to
setTransitionType(String[]). |
NavigationInfoObject |
setTransitionType(SFStringObject newValue)
Assign single SFString object value to MFString transitionType field, similar to
setTransitionType(String[]). |
NavigationInfoObject |
setTransitionType(java.lang.String newValue)
Assign singleton String value to MFString transitionType field, similar to
setTransitionType(String[]). |
NavigationInfoObject |
setTransitionType(java.lang.String[] newValue)
Assign String enumeration array (""TELEPORT""|""LINEAR""|""ANIMATE"") with quoted value(s) ["TELEPORT","LINEAR","ANIMATE",...] to inputOutput MFString field named transitionType.
|
NavigationInfoObject |
setType(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString type field, similar to
setType(String[]). |
NavigationInfoObject |
setType(MFStringObject newValue)
Assign typed object value to MFString type field, similar to
setType(String[]). |
NavigationInfoObject |
setType(SFStringObject newValue)
Assign single SFString object value to MFString type field, similar to
setType(String[]). |
NavigationInfoObject |
setType(java.lang.String newValue)
Assign singleton String value to MFString type field, similar to
setType(String[]). |
NavigationInfoObject |
setType(java.lang.String[] newValue)
Assign String enumeration array (""ANY""|""WALK""|""EXAMINE""|""FLY""|""LOOKAT""|""NONE""|""EXPLORE"") with quoted value(s) ["ANY","WALK","EXAMINE","FLY","LOOKAT","NONE","EXPLORE",...] to inputOutput MFString field named type.
|
NavigationInfoObject |
setUSE(NavigationInfoObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
NavigationInfoObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
NavigationInfoObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
NavigationInfoObject |
setVisibilityLimit(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named visibilityLimit.
|
NavigationInfoObject |
setVisibilityLimit(SFFloatObject newValue)
Assign typed object value to SFFloat visibilityLimit field, similar to
setVisibilityLimit(float). |
java.lang.String |
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.
|
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.
|
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.
|
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.util.ArrayList<java.lang.String> TRANSITIONTYPE_TELEPORT
public static final java.util.ArrayList<java.lang.String> TRANSITIONTYPE_LINEAR
public static final java.util.ArrayList<java.lang.String> TRANSITIONTYPE_ANIMATE
public static final java.util.ArrayList<java.lang.String> TYPE_ANY
public static final java.util.ArrayList<java.lang.String> TYPE_WALK
public static final java.util.ArrayList<java.lang.String> TYPE_EXAMINE
public static final java.util.ArrayList<java.lang.String> TYPE_FLY
public static final java.util.ArrayList<java.lang.String> TYPE_LOOKAT
public static final java.util.ArrayList<java.lang.String> TYPE_NONE
public static final java.util.ArrayList<java.lang.String> TYPE_EXPLORE
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final java.util.ArrayList<java.lang.Float> AVATARSIZE_DEFAULT_VALUE
public static final boolean HEADLIGHT_DEFAULT_VALUE
public static final float SPEED_DEFAULT_VALUE
public static final double TRANSITIONTIME_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> TRANSITIONTYPE_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> TYPE_DEFAULT_VALUE
public static final float VISIBILITYLIMIT_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_AVATARSIZE
public static final java.lang.String toField_AVATARSIZE
public static final java.lang.String fromField_BINDTIME
public static final java.lang.String fromField_HEADLIGHT
public static final java.lang.String toField_HEADLIGHT
public static final java.lang.String fromField_ISBOUND
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String toField_SET_BIND
public static final java.lang.String fromField_SPEED
public static final java.lang.String toField_SPEED
public static final java.lang.String fromField_TRANSITIONCOMPLETE
public static final java.lang.String fromField_TRANSITIONTIME
public static final java.lang.String toField_TRANSITIONTIME
public static final java.lang.String fromField_TRANSITIONTYPE
public static final java.lang.String toField_TRANSITIONTYPE
public static final java.lang.String fromField_TYPE
public static final java.lang.String toField_TYPE
public static final java.lang.String fromField_VISIBILITYLIMIT
public static final java.lang.String toField_VISIBILITYLIMIT
public NavigationInfoObject()
public NavigationInfoObject(java.lang.String DEFlabel)
DEFlabel - 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 java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic float[] getAvatarSize()
getAvatarSize in interface NavigationInfopublic java.util.ArrayList<java.lang.Float> getAvatarSizeList()
getAvatarSize().public NavigationInfoObject setAvatarSize(float[] newValue)
setAvatarSize in interface NavigationInfonewValue - is new value for the avatarSize field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setAvatarSize(MFFloatObject newValue)
setAvatarSize(float[]).newValue - is new value for the avatarSize field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setAvatarSize(java.util.ArrayList<java.lang.Float> newValue)
setAvatarSize(float[]).newValue - is new value for the avatarSize field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject clearAvatarSize()
NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public NavigationInfoObject setAvatarSize(int[] newValue)
setAvatarSize(float[]).newValue - is new value for the avatarSize field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject addAvatarSize(float newValue)
newValue - is new value to add to the avatarSize field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject addAvatarSize(SFFloatObject newValue)
newValue - is new value to add to the avatarSize field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getBindTime()
getBindTime in interface X3DBindableNodegetBindTime in interface NavigationInfopublic boolean getHeadlight()
getHeadlight in interface NavigationInfopublic NavigationInfoObject setHeadlight(boolean newValue)
setHeadlight in interface NavigationInfonewValue - is new value for the headlight field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setHeadlight(SFBoolObject newValue)
setHeadlight(boolean).newValue - is new value for the headlight field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getIsBound()
getIsBound in interface X3DBindableNodegetIsBound in interface NavigationInfopublic X3DMetadataObject getMetadata()
getMetadata in interface X3DBindableNodegetMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface NavigationInfogetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic NavigationInfoObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DBindableNodesetMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface NavigationInfosetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic NavigationInfoObject clearMetadata()
NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public NavigationInfoObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic float getSpeed()
getSpeed in interface NavigationInfopublic NavigationInfoObject setSpeed(float newValue)
setSpeed in interface NavigationInfonewValue - is new value for the speed field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setSpeed(SFFloatObject newValue)
setSpeed(float).newValue - is new value for the speed field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getTransitionComplete()
getTransitionComplete in interface NavigationInfopublic double getTransitionTime()
getTransitionTime in interface NavigationInfopublic NavigationInfoObject setTransitionTime(double newValue)
setTransitionTime in interface NavigationInfonewValue - is new value for the transitionTime field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setTransitionTime(SFTimeObject newValue)
setTransitionTime(double).newValue - is new value for the transitionTime field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String[] getTransitionType()
TELEPORT, LINEAR, ANIMATE.getTransitionType in interface NavigationInfopublic java.util.ArrayList<java.lang.String> getTransitionTypeList()
getTransitionType().public NavigationInfoObject setTransitionType(java.lang.String[] newValue)
TELEPORT, LINEAR, ANIMATE).
setTransitionType in interface NavigationInfonewValue - is new value for the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setTransitionType(MFStringObject newValue)
setTransitionType(String[]).newValue - is new value for the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setTransitionType(SFStringObject newValue)
setTransitionType(String[]).newValue - is new value for the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public NavigationInfoObject setTransitionType(java.lang.String newValue)
setTransitionType(String[]).newValue - is new value for the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public NavigationInfoObject setTransitionType(java.util.ArrayList<java.lang.String> newValue)
setTransitionType(String[]).newValue - is new value for the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject clearTransitionType()
NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public NavigationInfoObject addTransitionType(java.lang.String newValue)
newValue - is new value to add to the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public NavigationInfoObject addTransitionType(SFStringObject newValue)
newValue - is new value to add to the transitionType field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public java.lang.String[] getType()
ANY, WALK, EXAMINE, FLY, LOOKAT, NONE, EXPLORE.getType in interface NavigationInfopublic java.util.ArrayList<java.lang.String> getTypeList()
getType().public NavigationInfoObject setType(java.lang.String[] newValue)
ANY, WALK, EXAMINE, FLY, LOOKAT, NONE, EXPLORE).
setType in interface NavigationInfonewValue - is new value for the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setType(MFStringObject newValue)
setType(String[]).newValue - is new value for the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setType(SFStringObject newValue)
setType(String[]).newValue - is new value for the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public NavigationInfoObject setType(java.lang.String newValue)
setType(String[]).newValue - is new value for the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public NavigationInfoObject setType(java.util.ArrayList<java.lang.String> newValue)
setType(String[]).newValue - is new value for the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject clearType()
NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public NavigationInfoObject addType(java.lang.String newValue)
newValue - is new value to add to the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public NavigationInfoObject addType(SFStringObject newValue)
newValue - is new value to add to the type field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public float getVisibilityLimit()
getVisibilityLimit in interface NavigationInfopublic NavigationInfoObject setVisibilityLimit(float newValue)
setVisibilityLimit in interface NavigationInfonewValue - is new value for the visibilityLimit field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setVisibilityLimit(SFFloatObject newValue)
setVisibilityLimit(float).newValue - is new value for the visibilityLimit field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final NavigationInfoObject setDEF(java.lang.String newValue)
setDEF in interface X3DBindableNodesetDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface NavigationInfosetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final NavigationInfoObject setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DBindableNodesetUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface NavigationInfosetUSE in class X3DConcreteNodenewValue - is new value for the USE field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final NavigationInfoObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DBindableNodesetCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface NavigationInfosetCssClass in class X3DConcreteNodenewValue - is new value for the class field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.NavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic NavigationInfoObject setUSE(NavigationInfoObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedNavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public NavigationInfoObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueNavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public NavigationInfoObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsNavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public NavigationInfoObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addNavigationInfoObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.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: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic 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),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()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),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()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),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()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.