Enum Class ImGuiWindowType

java.lang.Object
java.lang.Enum<ImGuiWindowType>
de.luckymcdev.foundryengine.client.editor.config.ImGuiWindowType
All Implemented Interfaces:
Serializable, Comparable<ImGuiWindowType>, Constable

public enum ImGuiWindowType extends Enum<ImGuiWindowType>
The ImGui Window type. Represents how a window is currently being handled.
  • Enum Constant Details

    • DOCKED

      public static final ImGuiWindowType DOCKED
      Docked ImGui Window Type (Window is currently docked to a dockspace)
    • VIEWPORT

      public static final ImGuiWindowType VIEWPORT
      Viewport ImGui Window Type (Window is outside the minecraft window)
    • WINDOW

      public static final ImGuiWindowType WINDOW
      Window ImGui Window Type (Window is a movable object in the minecraft window)
  • Method Details

    • values

      public static ImGuiWindowType[] 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 ImGuiWindowType 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
    • get

      public static ImGuiWindowType get(long windowHandle)
      Get the Window type for a window. Example call: get(Instances.getWindow().handle())
      Parameters:
      windowHandle - the window handle
      Returns:
      The ImGui Window Type