Class SoSFBool


  • public class SoSFBool
    extends SoSField
    Field containing a single Boolean value. A field containing a single Boolean (true or false) value.

    SoSFBools may be written to file as "0" (representing false), "1", "true", or "false".

    See Also:
    SoField, SoSField, SoMFBool
    • Constructor Detail

    • Method Detail

      • getValue

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

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

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