Class Gutter.Builder<B extends Gutter.Builder<B>>

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

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

      public B setView(View view)
      The GtkSourceView of the gutter.
      Parameters:
      view - the value for the view property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setWindowType

      public B setWindowType(TextWindowType windowType)
      The text window type on which the window is placed.
      Parameters:
      windowType - the value for the window-type property
      Returns:
      the Builder instance is returned, to allow method chaining