EventPhase
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Represents a phase in which an event is fired and can be listened to. Various events might have different meanings for phases, so do check the documentation. Usually, you want to use the NORMAL
phase (which is specified for you automatically) to catch events occurring in the default phase.
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
EventPhase is an enum with 3 constants. They are accessible like so: