public static enum ID3v23FrameBodyRelativeVolumeAdjustment.Direction extends java.lang.Enum<ID3v23FrameBodyRelativeVolumeAdjustment.Direction>
Enum Constant and Description |
---|
DECREASE_VOLUME
decrease the volume on the specified channel
|
INCREASE_VOLUME
increase the volume on the specified channel
|
Modifier and Type | Method and Description |
---|---|
static ID3v23FrameBodyRelativeVolumeAdjustment.Direction |
getDirection(int direction)
convert an integral value to its corresponding enum.
|
java.lang.String |
toString() |
static ID3v23FrameBodyRelativeVolumeAdjustment.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ID3v23FrameBodyRelativeVolumeAdjustment.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ID3v23FrameBodyRelativeVolumeAdjustment.Direction DECREASE_VOLUME
public static final ID3v23FrameBodyRelativeVolumeAdjustment.Direction INCREASE_VOLUME
public static ID3v23FrameBodyRelativeVolumeAdjustment.Direction[] values()
for (ID3v23FrameBodyRelativeVolumeAdjustment.Direction c : ID3v23FrameBodyRelativeVolumeAdjustment.Direction.values()) System.out.println(c);
public static ID3v23FrameBodyRelativeVolumeAdjustment.Direction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ID3v23FrameBodyRelativeVolumeAdjustment.Direction>
public static ID3v23FrameBodyRelativeVolumeAdjustment.Direction getDirection(int direction)
direction
- the integral value that is to be converted to a Direction enum.java.lang.IllegalArgumentException
- if there is no Direction enum whose ordinal value corresponds to the given integral value.