Class LifeEvent
- java.lang.Object
-
- net.sourceforge.plantuml.sequencediagram.AbstractEvent
-
- net.sourceforge.plantuml.sequencediagram.LifeEvent
-
- All Implemented Interfaces:
Event
public class LifeEvent extends AbstractEvent implements Event
-
-
Constructor Summary
Constructors Constructor Description LifeEvent(Participant p, LifeEventType type, Fashion backcolor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandealWith(Participant someone)AbstractMessagegetMessage()ParticipantgetParticipant()FashiongetSpecificColors()LifeEventTypegetType()booleanisActivate()booleanisDeactivate()booleanisDeactivateOrDestroy()booleanisDestroy(Participant p)voidsetMessage(AbstractMessage message)java.lang.StringtoString()-
Methods inherited from class net.sourceforge.plantuml.sequencediagram.AbstractEvent
getUrl, hasUrl, isParallel, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.sequencediagram.Event
getUrl, hasUrl, isParallel, setY
-
-
-
-
Constructor Detail
-
LifeEvent
public LifeEvent(Participant p, LifeEventType type, Fashion backcolor)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getParticipant
public Participant getParticipant()
-
getType
public LifeEventType getType()
-
getSpecificColors
public Fashion getSpecificColors()
-
dealWith
public boolean dealWith(Participant someone)
-
isActivate
public boolean isActivate()
-
isDeactivateOrDestroy
public boolean isDeactivateOrDestroy()
-
isDeactivate
public boolean isDeactivate()
-
isDestroy
public boolean isDestroy(Participant p)
-
setMessage
public void setMessage(AbstractMessage message)
-
getMessage
public AbstractMessage getMessage()
-
-