Package org.freedesktop.gstreamer.gst
Enum Class DebugColorFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<DebugColorFlags>
,Constable
@Generated("io.github.jwharm.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUse blue as background color.Use cyan as background color.Use green as background color.Use magenta as background color.Use red as background color.Use white as background color.Use yellow as background color.Make the output bold.Use black as foreground color.Use blue as foreground color.Use cyan as foreground color.Use green as foreground color.Use magenta as foreground color.Use red as foreground color.Use white as foreground color.Use yellow as foreground color.Underline the output. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the DebugColorFlags classint
getValue()
Get the numeric value of this enumstatic DebugColorFlags
of
(int value) Create a new DebugColorFlags for the provided valuestatic DebugColorFlags
Returns the enum constant of this class with the specified name.static DebugColorFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FG_BLACK
Use black as foreground color. -
FG_RED
Use red as foreground color. -
FG_GREEN
Use green as foreground color. -
FG_YELLOW
Use yellow as foreground color. -
FG_BLUE
Use blue as foreground color. -
FG_MAGENTA
Use magenta as foreground color. -
FG_CYAN
Use cyan as foreground color. -
FG_WHITE
Use white as foreground color. -
BG_RED
Use red as background color. -
BG_GREEN
Use green as background color. -
BG_YELLOW
Use yellow as background color. -
BG_BLUE
Use blue as background color. -
BG_MAGENTA
Use magenta as background color. -
BG_CYAN
Use cyan as background color. -
BG_WHITE
Use white as background color. -
BOLD
Make the output bold. -
UNDERLINE
Underline the output.
-
-
Field Details
-
BG_BLACK
Use black as background color.
-
-
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 DebugColorFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield 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
-