Enum Class NotifyType

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

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

Specifies the kind of crossing for enter and leave events.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation.

  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    the surface is entered from an ancestor or left towards an ancestor.
    the surface is entered from an inferior or left towards an inferior.
    the surface is entered from or left towards a surface which is neither an ancestor nor an inferior.
    the pointer moves between two surfaces which are not ancestors of each other and the surface is part of the ancestor chain between one of these surfaces and their least common ancestor.
    an unknown type of enter/leave event occurred.
    the pointer moves between an ancestor and an inferior of the surface.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Get the GType of the NotifyType class.
    int
    Get the numeric value of this enum
    static NotifyType
    of(int value)
    Create a new NotifyType for the provided value
    static NotifyType
    of(MemorySegment address)
    Create a new NotifyType for the value in the provided memory address.
    static NotifyType
    Returns the enum constant of this class with the specified name.
    static NotifyType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ANCESTOR

      public static final NotifyType ANCESTOR
      the surface is entered from an ancestor or left towards an ancestor.
    • VIRTUAL

      public static final NotifyType VIRTUAL
      the pointer moves between an ancestor and an inferior of the surface.
    • INFERIOR

      public static final NotifyType INFERIOR
      the surface is entered from an inferior or left towards an inferior.
    • NONLINEAR

      public static final NotifyType NONLINEAR
      the surface is entered from or left towards a surface which is neither an ancestor nor an inferior.
    • NONLINEAR_VIRTUAL

      public static final NotifyType NONLINEAR_VIRTUAL
      the pointer moves between two surfaces which are not ancestors of each other and the surface is part of the ancestor chain between one of these surfaces and their least common ancestor.
    • UNKNOWN

      public static final NotifyType UNKNOWN
      an unknown type of enter/leave event occurred.
  • Method Details

    • values

      public static NotifyType[] 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 NotifyType 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 NotifyType of(int value)
      Create a new NotifyType 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 NotifyType of(MemorySegment address)
      Create a new NotifyType 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 NotifyType class.
      Returns:
      the GType