public class LifeEvent extends AbstractEvent implements Event
Constructor and Description |
---|
LifeEvent(Participant p,
LifeEventType type,
SymbolContext backcolor) |
Modifier and Type | Method and Description |
---|---|
boolean |
dealWith(Participant someone) |
AbstractMessage |
getMessage() |
Participant |
getParticipant() |
SymbolContext |
getSpecificColors() |
LifeEventType |
getType() |
boolean |
isActivate() |
boolean |
isDeactivate() |
boolean |
isDeactivateOrDestroy() |
boolean |
isDestroy(Participant p) |
void |
setMessage(AbstractMessage message) |
java.lang.String |
toString() |
getUrl, hasUrl, isParallel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUrl, hasUrl, isParallel
public LifeEvent(Participant p, LifeEventType type, SymbolContext backcolor)
public java.lang.String toString()
toString
in class java.lang.Object
public Participant getParticipant()
public LifeEventType getType()
public SymbolContext getSpecificColors()
public boolean dealWith(Participant someone)
public boolean isActivate()
public boolean isDeactivateOrDestroy()
public boolean isDeactivate()
public boolean isDestroy(Participant p)
public void setMessage(AbstractMessage message)
public AbstractMessage getMessage()