Class Participant
- java.lang.Object
-
- net.sourceforge.plantuml.sequencediagram.Participant
-
- All Implemented Interfaces:
SpecificBackcolorable,Styleable,WithStyle
public class Participant extends java.lang.Object implements SpecificBackcolorable, WithStyle
-
-
Constructor Summary
Constructors Constructor Description Participant(ParticipantType type, java.lang.String code, Display display, java.util.Set<EntityPortion> hiddenPortions, int order, StyleBuilder styleBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()ColorsgetColors()DisplaygetDisplay(boolean underlined)intgetInitialLife()FashiongetLiveSpecificBackColors()intgetOrder()StereotypegetStereotype()StyleSignatureBasicgetStyleSignature()ParticipantTypegetType()UrlgetUrl()Style[]getUsedStyles()voidincInitialLife(Fashion colors)voidsetColors(Colors colors)voidsetSpecificColorTOBEREMOVED(ColorType type, HColor color)voidsetStereotype(Stereotype stereotype, boolean stereotypePositionTop)voidsetUrl(Url url)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Participant
public Participant(ParticipantType type, java.lang.String code, Display display, java.util.Set<EntityPortion> hiddenPortions, int order, StyleBuilder styleBuilder)
-
-
Method Detail
-
getStyleSignature
public StyleSignatureBasic getStyleSignature()
- Specified by:
getStyleSignaturein interfaceStyleable
-
getUsedStyles
public Style[] getUsedStyles()
- Specified by:
getUsedStylesin interfaceWithStyle
-
getCode
public java.lang.String getCode()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDisplay
public Display getDisplay(boolean underlined)
-
getType
public ParticipantType getType()
-
setStereotype
public final void setStereotype(Stereotype stereotype, boolean stereotypePositionTop)
-
getInitialLife
public final int getInitialLife()
-
incInitialLife
public final void incInitialLife(Fashion colors)
-
getLiveSpecificBackColors
public Fashion getLiveSpecificBackColors()
-
getColors
public Colors getColors()
- Specified by:
getColorsin interfaceSpecificBackcolorable
-
setColors
public void setColors(Colors colors)
- Specified by:
setColorsin interfaceSpecificBackcolorable
-
getUrl
public final Url getUrl()
-
setUrl
public final void setUrl(Url url)
-
getStereotype
public final Stereotype getStereotype()
-
getOrder
public int getOrder()
-
-