Class AppLaunchContext.Builder<B extends AppLaunchContext.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
AppLaunchContext

public static class AppLaunchContext.Builder<B extends AppLaunchContext.Builder<B>> extends AppLaunchContext.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 AppLaunchContext build()
      Finish building the AppLaunchContext object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to AppLaunchContext.
      Overrides:
      build in class AppLaunchContext.Builder<B extends AppLaunchContext.Builder<B>>
      Returns:
      a new instance of AppLaunchContext with the properties that were set in the Builder object.
    • setDisplay

      public B setDisplay(Display display)
      The display that the GdkAppLaunchContext is on.
      Parameters:
      display - the value for the display property
      Returns:
      the Builder instance is returned, to allow method chaining