Interface SFBool

All Superinterfaces:
X3DField
All Known Implementing Classes:
SFBool

public interface SFBool extends X3DField
SFBool is a logical type with possible values (true|false) to match the XML boolean type. Hint: XML boolean values are lower case (true|false) in order to maintain compatibility with HTML and other XML documents.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Get the current value.
    void
    setValue(boolean newValue)
    Assign a new value to this field.
  • Method Details

    • getValue

      boolean getValue()
      Get the current value.
      Returns:
      current value
    • setValue

      void setValue(boolean newValue)
      Assign a new value to this field.
      Parameters:
      newValue - The newValue to assign