Enum Class AudioVisualizerShader
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<AudioVisualizerShader>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum AudioVisualizerShader
extends Enum<AudioVisualizerShader>
implements Enumeration
Different types of supported background shading functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionplain fadingfade and move downfade and move horizontally infade and move horizontally outfade and move leftfade and move rightfade and move upfade and move vertically infade and move vertically outno shading -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the AudioVisualizerShader classint
getValue()
Get the numeric value of this enumstatic AudioVisualizerShader
of
(int value) Create a new AudioVisualizerShader for the provided valuestatic AudioVisualizerShader
Returns the enum constant of this class with the specified name.static AudioVisualizerShader[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
no shading -
FADE
plain fading -
FADE_AND_MOVE_UP
fade and move up -
FADE_AND_MOVE_DOWN
fade and move down -
FADE_AND_MOVE_LEFT
fade and move left -
FADE_AND_MOVE_RIGHT
fade and move right -
FADE_AND_MOVE_HORIZ_OUT
fade and move horizontally out -
FADE_AND_MOVE_HORIZ_IN
fade and move horizontally in -
FADE_AND_MOVE_VERT_OUT
fade and move vertically out -
FADE_AND_MOVE_VERT_IN
fade and move vertically in
-
-
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 AudioVisualizerShader for the provided value- Parameters:
value
- the enum value- Returns:
- the enum 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
-