Enum ParticipantType
- java.lang.Object
-
- java.lang.Enum<ParticipantType>
-
- net.sourceforge.plantuml.sequencediagram.ParticipantType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParticipantType>
,Styleable
public enum ParticipantType extends java.lang.Enum<ParticipantType> implements Styleable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTOR
BOUNDARY
COLLECTIONS
CONTROL
DATABASE
ENTITY
PARTICIPANT
QUEUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorParam
getBackgroundColorParam()
StyleSignature
getDefaultStyleDefinition()
static ParticipantType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ParticipantType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTICIPANT
public static final ParticipantType PARTICIPANT
-
ACTOR
public static final ParticipantType ACTOR
-
BOUNDARY
public static final ParticipantType BOUNDARY
-
CONTROL
public static final ParticipantType CONTROL
-
ENTITY
public static final ParticipantType ENTITY
-
QUEUE
public static final ParticipantType QUEUE
-
DATABASE
public static final ParticipantType DATABASE
-
COLLECTIONS
public static final ParticipantType COLLECTIONS
-
-
Method Detail
-
values
public static ParticipantType[] 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 (ParticipantType c : ParticipantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParticipantType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getBackgroundColorParam
public ColorParam getBackgroundColorParam()
-
getDefaultStyleDefinition
public StyleSignature getDefaultStyleDefinition()
- Specified by:
getDefaultStyleDefinition
in interfaceStyleable
-
-