Enum AbstractBorderFigure.POSITION_TYPE
- java.lang.Object
-
- java.lang.Enum<AbstractBorderFigure.POSITION_TYPE>
-
- de.uka.ipd.sdq.pcm.gmf.composite.custom.AbstractBorderFigure.POSITION_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractBorderFigure.POSITION_TYPE>
- Enclosing class:
- AbstractBorderFigure
public static enum AbstractBorderFigure.POSITION_TYPE extends Enum<AbstractBorderFigure.POSITION_TYPE>
position type of the figure. internal or external. internal means the figure is connected towards the outside external means the figure is connected towards the inside
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POS_EXTERNAL
connected towards the inside.POS_INTERNAL
conntected towards the outside.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractBorderFigure.POSITION_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractBorderFigure.POSITION_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POS_INTERNAL
public static final AbstractBorderFigure.POSITION_TYPE POS_INTERNAL
conntected towards the outside.
-
POS_EXTERNAL
public static final AbstractBorderFigure.POSITION_TYPE POS_EXTERNAL
connected towards the inside.
-
-
Method Detail
-
values
public static AbstractBorderFigure.POSITION_TYPE[] 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 (AbstractBorderFigure.POSITION_TYPE c : AbstractBorderFigure.POSITION_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractBorderFigure.POSITION_TYPE 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
-
-