Enum Class StackTransitionType

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

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

Possible transitions between pages in a GtkStack widget.

New values may be added to this enumeration over time.

  • Enum Constant Details

    • NONE

      public static final StackTransitionType NONE
      No transition
    • CROSSFADE

      public static final StackTransitionType CROSSFADE
      A cross-fade
    • SLIDE_RIGHT

      public static final StackTransitionType SLIDE_RIGHT
      Slide from left to right
    • SLIDE_LEFT

      public static final StackTransitionType SLIDE_LEFT
      Slide from right to left
    • SLIDE_UP

      public static final StackTransitionType SLIDE_UP
      Slide from bottom up
    • SLIDE_DOWN

      public static final StackTransitionType SLIDE_DOWN
      Slide from top down
    • SLIDE_LEFT_RIGHT

      public static final StackTransitionType SLIDE_LEFT_RIGHT
      Slide from left or right according to the children order
    • SLIDE_UP_DOWN

      public static final StackTransitionType SLIDE_UP_DOWN
      Slide from top down or bottom up according to the order
    • OVER_UP

      public static final StackTransitionType OVER_UP
      Cover the old page by sliding up
    • OVER_DOWN

      public static final StackTransitionType OVER_DOWN
      Cover the old page by sliding down
    • OVER_LEFT

      public static final StackTransitionType OVER_LEFT
      Cover the old page by sliding to the left
    • OVER_RIGHT

      public static final StackTransitionType OVER_RIGHT
      Cover the old page by sliding to the right
    • UNDER_UP

      public static final StackTransitionType UNDER_UP
      Uncover the new page by sliding up
    • UNDER_DOWN

      public static final StackTransitionType UNDER_DOWN
      Uncover the new page by sliding down
    • UNDER_LEFT

      public static final StackTransitionType UNDER_LEFT
      Uncover the new page by sliding to the left
    • UNDER_RIGHT

      public static final StackTransitionType UNDER_RIGHT
      Uncover the new page by sliding to the right
    • OVER_UP_DOWN

      public static final StackTransitionType OVER_UP_DOWN
      Cover the old page sliding up or uncover the new page sliding down, according to order
    • OVER_DOWN_UP

      public static final StackTransitionType OVER_DOWN_UP
      Cover the old page sliding down or uncover the new page sliding up, according to order
    • OVER_LEFT_RIGHT

      public static final StackTransitionType OVER_LEFT_RIGHT
      Cover the old page sliding left or uncover the new page sliding right, according to order
    • OVER_RIGHT_LEFT

      public static final StackTransitionType OVER_RIGHT_LEFT
      Cover the old page sliding right or uncover the new page sliding left, according to order
    • ROTATE_LEFT

      public static final StackTransitionType ROTATE_LEFT
      Pretend the pages are sides of a cube and rotate that cube to the left
    • ROTATE_RIGHT

      public static final StackTransitionType ROTATE_RIGHT
      Pretend the pages are sides of a cube and rotate that cube to the right
    • ROTATE_LEFT_RIGHT

      public static final StackTransitionType ROTATE_LEFT_RIGHT
      Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order
  • Method Details

    • values

      public static StackTransitionType[] values()
      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 StackTransitionType valueOf(String name)
      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 StackTransitionType of(int value)
      Create a new StackTransitionType for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

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

      public static StackTransitionType of(MemorySegment address)
      Create a new StackTransitionType 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()
      Get the GType of the StackTransitionType class.
      Returns:
      the GType