Class CompletionWords.Builder<B extends CompletionWords.Builder<B>>

java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gtksourceview.CompletionWords.Builder<B>
Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
CompletionWords

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

      public B setMinimumWordSize(int minimumWordSize)
    • setPriority

      public B setPriority(int priority)
    • setProposalsBatchSize

      public B setProposalsBatchSize(int proposalsBatchSize)
    • setScanBatchSize

      public B setScanBatchSize(int scanBatchSize)
    • setTitle

      public B setTitle(String title)