Klasse CarouselIndicatorDots

Alle implementierten Schnittstellen:
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

  • Konstruktordetails

    • CarouselIndicatorDots

      public CarouselIndicatorDots(PointerContainer pointer)
    • CarouselIndicatorDots

      public CarouselIndicatorDots()
      Creates a new `AdwCarouselIndicatorDots`.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getCarousel

      public Carousel getCarousel()
      Gets the displayed carousel.
      Gibt zurück:
      the displayed carousel
    • setCarousel

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

      public Accessible asAccessible()
      Implements interface Accessible. Call this to get access to interface functions.
      Setzt außer Kraft:
      asAccessible in Klasse Widget
      Gibt zurück:
      Accessible
    • asBuildable

      public Buildable asBuildable()
      Implements interface Buildable. Call this to get access to interface functions.
      Setzt außer Kraft:
      asBuildable in Klasse Widget
      Gibt zurück:
      Buildable
    • asConstraintTarget

      public ConstraintTarget asConstraintTarget()
      Implements interface ConstraintTarget. Call this to get access to interface functions.
      Setzt außer Kraft:
      asConstraintTarget in Klasse Widget
      Gibt zurück:
      ConstraintTarget
    • asOrientable

      public Orientable asOrientable()
      Implements interface Orientable. Call this to get access to interface functions.
      Gibt zurück:
      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()