Class CarouselIndicatorDots.Builder<B extends CarouselIndicatorDots.Builder<B>>

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

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

      public B setCarousel(Carousel carousel)
      The displayed carousel.
      Parameters:
      carousel - the value for the carousel property
      Returns:
      the Builder instance is returned, to allow method chaining