Package org.xj3d.sai.internal.node.core
Class SAIMetadataFloat
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.core.SAIMetadataFloat
- All Implemented Interfaces:
MetadataFloat
,X3DMetadataObject
,X3DNode
A concrete implementation of the MetadataFloat node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIMetadataFloat
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Return the name String value.int
Return the number of MFFloat items in the value field.Return the reference String value.void
getValue
(float[] val) Return the value value in the argument float[]void
Set the name field.void
setReference
(String val) Set the reference field.void
setValue
(float[] val) Set the value field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIMetadataFloat
public SAIMetadataFloat(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getName
Return the name String value.- Specified by:
getName
in interfaceX3DMetadataObject
- Returns:
- The name String value.
-
setName
Set the name field.- Specified by:
setName
in interfaceX3DMetadataObject
- Parameters:
val
- The String to set.
-
getReference
Return the reference String value.- Specified by:
getReference
in interfaceX3DMetadataObject
- Returns:
- The reference String value.
-
setReference
Set the reference field.- Specified by:
setReference
in interfaceX3DMetadataObject
- Parameters:
val
- The String to set.
-
getNumValue
public int getNumValue()Return the number of MFFloat items in the value field.- Specified by:
getNumValue
in interfaceMetadataFloat
- Returns:
- the number of MFFloat items in the value field.
-
getValue
public void getValue(float[] val) Return the value value in the argument float[]- Specified by:
getValue
in interfaceMetadataFloat
- Parameters:
val
- The float[] to initialize.
-
setValue
public void setValue(float[] val) Set the value field.- Specified by:
setValue
in interfaceMetadataFloat
- Parameters:
val
- The float[] to set.
-