Klasse CarouselIndicatorLines

Alle implementierten Schnittstellen:
PointerInterface

public class CarouselIndicatorLines extends Widget
A lines indicator for [class@Carousel].

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

The `AdwCarouselIndicatorLines` widget shows a set of lines for each page of
a given [class@Carousel]. The carousel's active page is shown as another line
that moves between them to match the carousel's position.

See also [class@CarouselIndicatorDots].

## CSS nodes

`AdwCarouselIndicatorLines` has a single CSS node with name
`carouselindicatorlines`.

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

  • Konstruktordetails

    • CarouselIndicatorLines

      public CarouselIndicatorLines(PointerContainer pointer)
    • CarouselIndicatorLines

      public CarouselIndicatorLines()
      Creates a new `AdwCarouselIndicatorLines`.
  • 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()