Class SAIIntegerSequencer
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.eventutilities.SAIIntegerSequencer
- All Implemented Interfaces:
IntegerSequencer
,X3DChildNode
,X3DNode
,X3DSequencerNode
A concrete implementation of the IntegerSequencer 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
ConstructorsConstructorDescriptionSAIIntegerSequencer
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getKey
(float[] val) Return the key value in the argument float[]void
getKeyValue
(int[] val) Return the keyValue value in the argument int[]int
Return the number of MFFloat items in the key field.int
Return the number of MFInt32 items in the keyValue field.int
getValue()
Return the value_changed int value.void
setFraction
(float val) Set the set_fraction field.void
setKey
(float[] val) Set the key field.void
setKeyValue
(int[] val) Set the keyValue field.void
setNext
(boolean val) Set the next field.void
setPrevious
(boolean val) Set the previous 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
-
SAIIntegerSequencer
public SAIIntegerSequencer(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
setPrevious
public void setPrevious(boolean val) Set the previous field.- Specified by:
setPrevious
in interfaceX3DSequencerNode
- Parameters:
val
- The boolean to set.
-
setNext
public void setNext(boolean val) Set the next field.- Specified by:
setNext
in interfaceX3DSequencerNode
- Parameters:
val
- The boolean to set.
-
setFraction
public void setFraction(float val) Set the set_fraction field.- Specified by:
setFraction
in interfaceX3DSequencerNode
- Parameters:
val
- The float to set.
-
getNumKey
public int getNumKey()Return the number of MFFloat items in the key field.- Specified by:
getNumKey
in interfaceX3DSequencerNode
- Returns:
- the number of MFFloat items in the key field.
-
getKey
public void getKey(float[] val) Return the key value in the argument float[]- Specified by:
getKey
in interfaceX3DSequencerNode
- Parameters:
val
- The float[] to initialize.
-
setKey
public void setKey(float[] val) Set the key field.- Specified by:
setKey
in interfaceX3DSequencerNode
- Parameters:
val
- The float[] to set.
-
getNumKeyValue
public int getNumKeyValue()Return the number of MFInt32 items in the keyValue field.- Specified by:
getNumKeyValue
in interfaceIntegerSequencer
- Returns:
- the number of MFInt32 items in the keyValue field.
-
getKeyValue
public void getKeyValue(int[] val) Return the keyValue value in the argument int[]- Specified by:
getKeyValue
in interfaceIntegerSequencer
- Parameters:
val
- The int[] to initialize.
-
setKeyValue
public void setKeyValue(int[] val) Set the keyValue field.- Specified by:
setKeyValue
in interfaceIntegerSequencer
- Parameters:
val
- The int[] to set.
-
getValue
public int getValue()Return the value_changed int value.- Specified by:
getValue
in interfaceIntegerSequencer
- Returns:
- The value_changed int value.
-