Class SoSFUShort


  • public class SoSFUShort
    extends SoSField
    Field containing an unsigned short integer. A single-value field containing a short (16-bit) integer.

    SoSFUShorts are written to file in decimal, hexadecimal (beginning with '0x') or octal (beginning with '0') values.

    See Also:
    SoField, SoSField, SoMFUShort
    • Constructor Detail

      • SoSFUShort

        public SoSFUShort​(SoFieldContainer fieldContainer,
                          java.lang.String fieldName,
                          SoField.FieldTypes fieldType,
                          short defaultValue)
        Default constructor.
    • Method Detail

      • getValue

        public short getValue()
        Returns this field's value.
      • setValue

        public void setValue​(short newValue)
        Sets this field to newValue.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class SoField