Package org.gnome.gdk
Enum Class NotifyType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<NotifyType>
,Constable
@Generated("io.github.jwharm.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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe 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 TypeMethodDescriptionstatic Type
getType()
Get the GType of the NotifyType classint
getValue()
Get the numeric value of this enumstatic NotifyType
of
(int value) Create a new NotifyType for the provided valuestatic NotifyType
Returns the enum constant of this class with the specified name.static NotifyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANCESTOR
the surface is entered from an ancestor or left towards an ancestor. -
VIRTUAL
the pointer moves between an ancestor and an inferior of the surface. -
INFERIOR
the surface is entered from an inferior or left towards an inferior. -
NONLINEAR
the surface is entered from or left towards a surface which is neither an ancestor nor an inferior. -
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
an unknown type of enter/leave event occurred.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
of
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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-