Class AnyFilter

All Implemented Interfaces:
Iterable<Filter>, Collection<Filter>, List<Filter>, SequencedCollection<Filter>, ListModel<Filter>, Buildable, Proxy, ListModelJavaList<Filter>, ListModelJavaListMutable<Filter>

@Generated("org.javagi.JavaGI") public class AnyFilter extends MultiFilter implements ListModel<Filter>, Buildable

Matches an item when at least one of its filters matches.

To add filters to a GtkAnyFilter, use MultiFilter.append(Filter).

  • Constructor Details

    • AnyFilter

      public AnyFilter(MemorySegment address)
      Create a AnyFilter instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • AnyFilter

      public AnyFilter()
      Create a new AnyFilter.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the AnyFilter class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected AnyFilter asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class MultiFilter
      Returns:
      the instance as if it were its parent type
    • builder

      public static AnyFilter.Builder<? extends AnyFilter.Builder> builder()
      A AnyFilter.Builder object constructs a AnyFilter with the specified properties. Use the various set...() methods to set properties, and finish construction with AnyFilter.Builder.build().
      Returns:
      the builder object