Class MountOperation.Builder<B extends MountOperation.Builder<B>>

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

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

      public B setDisplay(Display display)
      The display where dialogs will be shown.
      Parameters:
      display - the value for the display property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setParent

      public B setParent(Window parent)
      The parent window.
      Parameters:
      parent - the value for the parent property
      Returns:
      the Builder instance is returned, to allow method chaining