Class SAIIntegerSequencer
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.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
-
Constructor Summary
ConstructorsConstructorDescriptionSAIIntegerSequencer(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetKey(float[] val) Return the key value in the argument float[]voidgetKeyValue(int[] val) Return the keyValue value in the argument int[]intReturn the number of MFFloat items in the key field.intReturn the number of MFInt32 items in the keyValue field.intgetValue()Return the value_changed int value.voidsetFraction(float val) Set the set_fraction field.voidsetKey(float[] val) Set the key field.voidsetKeyValue(int[] val) Set the keyValue field.voidsetNext(boolean val) Set the next field.voidsetPrevious(boolean val) Set the previous field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIIntegerSequencer
public SAIIntegerSequencer(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
setPrevious
public void setPrevious(boolean val) Set the previous field.- Specified by:
setPreviousin interfaceX3DSequencerNode- Parameters:
val- The boolean to set.
-
setNext
public void setNext(boolean val) Set the next field.- Specified by:
setNextin interfaceX3DSequencerNode- Parameters:
val- The boolean to set.
-
setFraction
public void setFraction(float val) Set the set_fraction field.- Specified by:
setFractionin interfaceX3DSequencerNode- Parameters:
val- The float to set.
-
getNumKey
public int getNumKey()Return the number of MFFloat items in the key field.- Specified by:
getNumKeyin 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:
getKeyin interfaceX3DSequencerNode- Parameters:
val- The float[] to initialize.
-
setKey
public void setKey(float[] val) Set the key field.- Specified by:
setKeyin interfaceX3DSequencerNode- Parameters:
val- The float[] to set.
-
getNumKeyValue
public int getNumKeyValue()Return the number of MFInt32 items in the keyValue field.- Specified by:
getNumKeyValuein 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:
getKeyValuein interfaceIntegerSequencer- Parameters:
val- The int[] to initialize.
-
setKeyValue
public void setKeyValue(int[] val) Set the keyValue field.- Specified by:
setKeyValuein interfaceIntegerSequencer- Parameters:
val- The int[] to set.
-
getValue
public int getValue()Return the value_changed int value.- Specified by:
getValuein interfaceIntegerSequencer- Returns:
- The value_changed int value.
-