Package com.openinventor.inventor.fields
Class SoSFShort
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.fields.SoField
-
- com.openinventor.inventor.fields.SoSField
-
- com.openinventor.inventor.fields.SoSFShort
-
public class SoSFShort extends SoSField
Field containing a short integer. A field containing a short (16-bit) integer.SoSFShorts are written to file as a single short integer value, represented as decimal, hexadecimal (beginning with '0x') or octal (beginning with '0') value.
- See Also:
SoField
,SoSField
,SoMFShort
,SoSFUShort
,SoSFInt32
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.fields.SoField
SoField.FieldTypes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoSFShort(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, short defaultValue)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
short
getValue()
Returns this field's value.void
setValue(short newValue)
Sets this field to newValue.-
Methods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
SoSFShort
public SoSFShort(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, short defaultValue)
Default constructor.
-
-