Enum Class DebugColorFlags

java.lang.Object
java.lang.Enum<DebugColorFlags>
org.freedesktop.gstreamer.gst.DebugColorFlags
All Implemented Interfaces:
Serializable, Comparable<DebugColorFlags>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum DebugColorFlags extends Enum<DebugColorFlags> implements Enumeration
These are some terminal style flags you can use when creating your debugging categories to make them stand out in debugging output.
  • Enum Constant Details

    • FG_BLACK

      public static final DebugColorFlags FG_BLACK
      Use black as foreground color.
    • FG_RED

      public static final DebugColorFlags FG_RED
      Use red as foreground color.
    • FG_GREEN

      public static final DebugColorFlags FG_GREEN
      Use green as foreground color.
    • FG_YELLOW

      public static final DebugColorFlags FG_YELLOW
      Use yellow as foreground color.
    • FG_BLUE

      public static final DebugColorFlags FG_BLUE
      Use blue as foreground color.
    • FG_MAGENTA

      public static final DebugColorFlags FG_MAGENTA
      Use magenta as foreground color.
    • FG_CYAN

      public static final DebugColorFlags FG_CYAN
      Use cyan as foreground color.
    • FG_WHITE

      public static final DebugColorFlags FG_WHITE
      Use white as foreground color.
    • BG_RED

      public static final DebugColorFlags BG_RED
      Use red as background color.
    • BG_GREEN

      public static final DebugColorFlags BG_GREEN
      Use green as background color.
    • BG_YELLOW

      public static final DebugColorFlags BG_YELLOW
      Use yellow as background color.
    • BG_BLUE

      public static final DebugColorFlags BG_BLUE
      Use blue as background color.
    • BG_MAGENTA

      public static final DebugColorFlags BG_MAGENTA
      Use magenta as background color.
    • BG_CYAN

      public static final DebugColorFlags BG_CYAN
      Use cyan as background color.
    • BG_WHITE

      public static final DebugColorFlags BG_WHITE
      Use white as background color.
    • BOLD

      public static final DebugColorFlags BOLD
      Make the output bold.
    • UNDERLINE

      public static final DebugColorFlags UNDERLINE
      Underline the output.
  • Field Details

    • BG_BLACK

      public static final DebugColorFlags BG_BLACK
      Use black as background color.
  • Method Details

    • values

      public static DebugColorFlags[] 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 DebugColorFlags 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<DebugColorFlags> of(int flags)
      Create a new EnumSet<DebugColorFlags> for the provided bitfield
      Parameters:
      flags - the DebugColorFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<DebugColorFlags> of(MemorySegment address)
      Create a new EnumSet<DebugColorFlags> 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 DebugColorFlags class.
      Returns:
      the GType