Enum Class FrameClockPhase

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

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

Used to represent the different paint clock phases that can be requested.

The elements of the enumeration correspond to the signals of GdkFrameClock.

  • Enum Constant Details

    • NONE

      public static final FrameClockPhase NONE
      no phase
    • FLUSH_EVENTS

      public static final FrameClockPhase FLUSH_EVENTS
      corresponds to GdkFrameClock::flush-events. Should not be handled by applications.
    • BEFORE_PAINT

      public static final FrameClockPhase BEFORE_PAINT
      corresponds to GdkFrameClock::before-paint. Should not be handled by applications.
    • UPDATE

      public static final FrameClockPhase UPDATE
      corresponds to GdkFrameClock::update.
    • LAYOUT

      public static final FrameClockPhase LAYOUT
      corresponds to GdkFrameClock::layout. Should not be handled by applications.
    • PAINT

      public static final FrameClockPhase PAINT
      corresponds to GdkFrameClock::paint.
    • RESUME_EVENTS

      public static final FrameClockPhase RESUME_EVENTS
      corresponds to GdkFrameClock::resume-events. Should not be handled by applications.
    • AFTER_PAINT

      public static final FrameClockPhase AFTER_PAINT
      corresponds to GdkFrameClock::after-paint. Should not be handled by applications.
  • Method Details

    • values

      public static FrameClockPhase[] 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 FrameClockPhase 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
    • getValue

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

      public static Set<FrameClockPhase> of(int flags)
      Create a new EnumSet<FrameClockPhase> for the provided bitfield
      Parameters:
      flags - the FrameClockPhase bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<FrameClockPhase> of(MemorySegment address)
      Create a new EnumSet<FrameClockPhase> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

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