Enum Class FlapTransitionType

java.lang.Object
java.lang.Enum<FlapTransitionType>
org.gnome.adw.FlapTransitionType
All Implemented Interfaces:
Serializable, Comparable<FlapTransitionType>, Constable, Enumeration

@Generated("org.javagi.JavaGI") @Deprecated public enum FlapTransitionType extends Enum<FlapTransitionType> implements Enumeration
Deprecated.

Describes transitions types of a Flap widget.

It determines the type of animation when transitioning between children in a Flap widget, as well as which areas can be swiped via Flap:swipe-to-open and Flap:swipe-to-close.

  • Enum Constant Details

    • OVER

      public static final FlapTransitionType OVER
      Deprecated.
      The flap slides over the content, which is dimmed. When folded, only the flap can be swiped.
    • UNDER

      public static final FlapTransitionType UNDER
      Deprecated.
      The content slides over the flap. Only the content can be swiped.
    • SLIDE

      public static final FlapTransitionType SLIDE
      Deprecated.
      The flap slides offscreen when hidden, neither the flap nor content overlap each other. Both widgets can be swiped.
  • Method Details

    • values

      public static FlapTransitionType[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlapTransitionType valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static FlapTransitionType of(int value)
      Deprecated.
      Create a new FlapTransitionType for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Deprecated.
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static FlapTransitionType of(MemorySegment address)
      Deprecated.
      Create a new FlapTransitionType for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the FlapTransitionType class.
      Returns:
      the GType