Package com.powsybl.sld.library
Enum Component.Transformation
- java.lang.Object
-
- java.lang.Enum<Component.Transformation>
-
- com.powsybl.sld.library.Component.Transformation
-
- All Implemented Interfaces:
Serializable
,Comparable<Component.Transformation>
- Enclosing class:
- Component
public static enum Component.Transformation extends Enum<Component.Transformation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Component.Transformation
valueOf(String name)
Returns the enum constant of this type with the specified name.static Component.Transformation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROTATION
public static final Component.Transformation ROTATION
-
FLIP
public static final Component.Transformation FLIP
-
NONE
public static final Component.Transformation NONE
-
-
Method Detail
-
values
public static Component.Transformation[] 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 (Component.Transformation c : Component.Transformation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Component.Transformation 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
-
-