Package eu.europa.esig.dss.enumerations
Enum VisualSignatureRotation
- java.lang.Object
-
- java.lang.Enum<VisualSignatureRotation>
-
- eu.europa.esig.dss.enumerations.VisualSignatureRotation
-
- All Implemented Interfaces:
Serializable,Comparable<VisualSignatureRotation>
public enum VisualSignatureRotation extends Enum<VisualSignatureRotation>
Rotation support
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATICautomatically rotateNONEdefault, no rotateROTATE_180rotate by 180ROTATE_270rotate by 270ROTATE_90rotate by 90
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VisualSignatureRotationvalueOf(String name)Returns the enum constant of this type with the specified name.static VisualSignatureRotation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final VisualSignatureRotation NONE
default, no rotate
-
AUTOMATIC
public static final VisualSignatureRotation AUTOMATIC
automatically rotate
-
ROTATE_90
public static final VisualSignatureRotation ROTATE_90
rotate by 90
-
ROTATE_180
public static final VisualSignatureRotation ROTATE_180
rotate by 180
-
ROTATE_270
public static final VisualSignatureRotation ROTATE_270
rotate by 270
-
-
Method Detail
-
values
public static VisualSignatureRotation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VisualSignatureRotation c : VisualSignatureRotation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VisualSignatureRotation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-