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.


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification: B.4.7, SAI Abstract Specification: 5.2.2 SAIBoolean, X3D Abstract Specification: 5.3.1 SFBool and MFBool, X3D Tooltips, X3D Tooltips: field, X3D Tooltips: fieldValue, X3D Scene Authoring Hints
  • 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