Class WebViewBase

All Implemented Interfaces:
Accessible, Buildable, ConstraintTarget, Proxy
Direct Known Subclasses:
WebView

@Generated("org.javagi.JavaGI") public class WebViewBase extends Widget implements Accessible, Buildable, ConstraintTarget
  • Constructor Details

    • WebViewBase

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

      public WebViewBase()
      Create a new WebViewBase.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the WebViewBase class.
      Returns:
      the GType
    • getMemoryLayout

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

      protected WebViewBase 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 Widget
      Returns:
      the instance as if it were its parent type
    • builder

      public static WebViewBase.Builder<? extends WebViewBase.Builder> builder()
      A WebViewBase.Builder object constructs a WebViewBase with the specified properties. Use the various set...() methods to set properties, and finish construction with WebViewBase.Builder.build().
      Returns:
      the builder object