Class WindowHandle.Builder<B extends WindowHandle.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
Accessible.Builder<B>, BuilderInterface
Enclosing class:
WindowHandle

public static class WindowHandle.Builder<B extends WindowHandle.Builder<B>> extends Widget.Builder<B> implements Accessible.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public WindowHandle build()
      Finish building the WindowHandle object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to WindowHandle.
      Overrides:
      build in class Widget.Builder<B extends WindowHandle.Builder<B>>
      Returns:
      a new instance of WindowHandle with the properties that were set in the Builder object.
    • setChild

      public B setChild(Widget child)
      The child widget.
      Parameters:
      child - the value for the child property
      Returns:
      the Builder instance is returned, to allow method chaining