Class Hover.Builder<B extends Hover.Builder<B>>

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

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

      public B setHoverDelay(int hoverDelay)
      Contains the number of milliseconds to delay before showing the hover assistant.
      Parameters:
      hoverDelay - the value for the hover-delay property
      Returns:
      the Builder instance is returned, to allow method chaining