Package com.powsybl.sld.model.cells
Enum InternCell.Shape
- java.lang.Object
-
- java.lang.Enum<InternCell.Shape>
-
- com.powsybl.sld.model.cells.InternCell.Shape
-
- All Implemented Interfaces:
Serializable
,Comparable<InternCell.Shape>
- Enclosing class:
- InternCell
public static enum InternCell.Shape extends Enum<InternCell.Shape>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkIsNotShape(InternCell.Shape... shapes)
boolean
checkIsShape(InternCell.Shape... shapes)
static InternCell.Shape
valueOf(String name)
Returns the enum constant of this type with the specified name.static InternCell.Shape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final InternCell.Shape UNDEFINED
-
UNILEG
public static final InternCell.Shape UNILEG
-
FLAT
public static final InternCell.Shape FLAT
-
MAYBEFLAT
public static final InternCell.Shape MAYBEFLAT
-
VERTICAL
public static final InternCell.Shape VERTICAL
-
CROSSOVER
public static final InternCell.Shape CROSSOVER
-
UNHANDLEDPATTERN
public static final InternCell.Shape UNHANDLEDPATTERN
-
-
Method Detail
-
values
public static InternCell.Shape[] 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 (InternCell.Shape c : InternCell.Shape.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternCell.Shape 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
-
checkIsShape
public boolean checkIsShape(InternCell.Shape... shapes)
-
checkIsNotShape
public boolean checkIsNotShape(InternCell.Shape... shapes)
-
-