Class AbstractMessage
- java.lang.Object
-
- net.sourceforge.plantuml.sequencediagram.AbstractMessage
-
- All Implemented Interfaces:
Event
,EventWithDeactivate
,Styleable
,WithStyle
- Direct Known Subclasses:
Message
,MessageExo
public abstract class AbstractMessage extends Object implements EventWithDeactivate, WithStyle
-
-
Constructor Summary
Constructors Constructor Description AbstractMessage(StyleBuilder styleBuilder, Display label, ArrowConfiguration arrowConfiguration, String messageNumber)
-
Method Summary
-
-
-
Constructor Detail
-
AbstractMessage
public AbstractMessage(StyleBuilder styleBuilder, Display label, ArrowConfiguration arrowConfiguration, String messageNumber)
-
-
Method Detail
-
getStereotype
public void getStereotype(Stereotype stereotype)
-
getUsedStyles
public final Style[] getUsedStyles()
- Specified by:
getUsedStyles
in interfaceWithStyle
-
getStyleSignature
public StyleSignature getStyleSignature()
- Specified by:
getStyleSignature
in interfaceStyleable
-
setUrl
public final void setUrl(Url url)
-
goParallel
public void goParallel()
-
setParallelBrother
public void setParallelBrother(AbstractMessage brother)
-
isParallel
public boolean isParallel()
- Specified by:
isParallel
in interfaceEvent
-
addLifeEvent
public final boolean addLifeEvent(LifeEvent lifeEvent)
- Specified by:
addLifeEvent
in interfaceEventWithDeactivate
-
isCreate
public final boolean isCreate()
-
isActivate
public boolean isActivate()
-
isDeactivate
public boolean isDeactivate()
-
isDestroy
public boolean isDestroy()
-
isActivateAndDeactive
public final boolean isActivateAndDeactive()
-
getLabel
public final Display getLabel()
-
getLabelNumbered
public final Display getLabelNumbered()
-
getArrowConfiguration
public final ArrowConfiguration getArrowConfiguration()
-
setNote
public final void setNote(Note note)
-
overrideNotePosition
protected NotePosition overrideNotePosition(NotePosition notePosition)
-
getMessageNumber
public final String getMessageNumber()
-
compatibleForCreate
public abstract boolean compatibleForCreate(Participant p)
-
isSelfMessage
public abstract boolean isSelfMessage()
-
getPosYstartLevel
public double getPosYstartLevel()
-
setPosYstartLevel
public void setPosYstartLevel(double posYstartLevel)
-
setPosYendLevel
public void setPosYendLevel(double posYendLevel)
- Specified by:
setPosYendLevel
in interfaceEventWithDeactivate
-
getPosYendLevel
public double getPosYendLevel()
- Specified by:
getPosYendLevel
in interfaceEventWithDeactivate
-
setAnchor
public void setAnchor(String anchor)
-
setPart1Anchor
public void setPart1Anchor(String anchor)
-
setPart2Anchor
public void setPart2Anchor(String anchor)
-
getAnchor
public String getAnchor()
-
getPart1Anchor
public String getPart1Anchor()
-
getPart2Anchor
public String getPart2Anchor()
-
getParticipant1
public abstract Participant getParticipant1()
-
getParticipant2
public abstract Participant getParticipant2()
-
-