Class CarouselIndicatorDots

All Implemented Interfaces:
PointerInterface

public class CarouselIndicatorDots extends Widget
A dots indicator for [class@Carousel].

<picture>
<source srcset="carousel-indicator-dots-dark.png" media="(prefers-color-scheme: dark)">
<img src="carousel-indicator-dots.png" alt="carousel-indicator-dots">
</picture>

The `AdwCarouselIndicatorDots` widget shows a set of dots for each page of a
given [class@Carousel]. The dot representing the carousel's active page is
larger and more opaque than the others, the transition to the active and
inactive state is gradual to match the carousel's position.

See also [class@CarouselIndicatorLines].

## CSS nodes

`AdwCarouselIndicatorDots` has a single CSS node with name
`carouselindicatordots`.

https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.CarouselIndicatorDots.html

  • Constructor Details

    • CarouselIndicatorDots

      public CarouselIndicatorDots(PointerContainer pointer)
    • CarouselIndicatorDots

      public CarouselIndicatorDots()
      Creates a new `AdwCarouselIndicatorDots`.
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getCarousel

      public Carousel getCarousel()
      Gets the displayed carousel.
      Returns:
      the displayed carousel
    • setCarousel

      public void setCarousel(@Nullable Carousel carousel)
      Sets the displayed carousel.
      Parameters:
      carousel - a carousel
    • asAccessible

      public Accessible asAccessible()
      Implements interface Accessible. Call this to get access to interface functions.
      Overrides:
      asAccessible in class Widget
      Returns:
      Accessible
    • asBuildable

      public Buildable asBuildable()
      Implements interface Buildable. Call this to get access to interface functions.
      Overrides:
      asBuildable in class Widget
      Returns:
      Buildable
    • asConstraintTarget

      public ConstraintTarget asConstraintTarget()
      Implements interface ConstraintTarget. Call this to get access to interface functions.
      Overrides:
      asConstraintTarget in class Widget
      Returns:
      ConstraintTarget
    • asOrientable

      public Orientable asOrientable()
      Implements interface Orientable. Call this to get access to interface functions.
      Returns:
      Orientable
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()