Class ParamSpecBoolean

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class ParamSpecBoolean extends ParamSpec
A GParamSpec derived structure that contains the meta data for boolean properties.
  • Constructor Details

    • ParamSpecBoolean

      public ParamSpecBoolean(MemorySegment address)
      Create a ParamSpecBoolean instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getType

      public static Type getType()
      Get the GType of the GParamSpecBoolean class.
      Returns:
      always Types.PARAM
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected ParamSpecBoolean asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class ParamSpec
      Returns:
      the instance as if it were its parent type