Package org.web3d.x3d.sai
Interface SFTime
- All Superinterfaces:
X3DField
- All Known Implementing Classes:
SFTimeObject
public interface SFTime extends X3DField
The SFTime field specifies a single time value. Time values are specified as a double-precision floating point number. Typically, SFTime fields represent the number of seconds since Jan 1, 1970, 00:00:00 GMT.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description longgetJavaValue()doublegetValue()Get the current value.voidsetValue(double newValue)Assign a new value to this field.voidsetValue(long newValue)Assign a new value to this field.Methods inherited from interface org.web3d.x3d.sai.X3DField
addX3DEventListener, getDefinition, isReadable, isWritable, removeX3DEventListener
-
Method Details
-
getValue
double getValue()Get the current value.- Returns:
- current value
-
getJavaValue
long getJavaValue() -
setValue
void setValue(double newValue)Assign a new value to this field.- Parameters:
newValue- is replacement value array to assign
-
setValue
void setValue(long newValue)Assign a new value to this field.- Parameters:
newValue- is replacement value array to assign
-