|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sdedit.message.Message
net.sf.sdedit.message.ForwardMessage
public class ForwardMessage
A ForwardMessage is a normal message sent from a lifeline to another one. If the receiving lifeline (the callee) is not an actor, it becomes active, or, if it already is active, it occurs twice in the trace of activity, represented by another sub-lifeline attached to the original lifeline.
| Field Summary |
|---|
| Fields inherited from class net.sf.sdedit.message.Message |
|---|
diagram |
| Fields inherited from interface net.sf.sdedit.Constants |
|---|
ACTIVE_LIFELINE_COLOR, ANTI_ALIAS, dashed, DEFAULT_CODE_FONT, DEFAULT_CURSOR, DEFAULT_ENCODING_SCHEME, dotted, emptyStroke, GLOBAL_CONF_FILE, HAND_CURSOR, MOVE_CURSOR, SAVE_AS_FILE_PROPERTY, SAVE_AS_TYPE_PROPERTY, solid, TEST_FREEHEP_CLASSNAME, thick, thick_dashed, THREAD_COLORS |
| Constructor Summary | |
|---|---|
ForwardMessage(Lifeline caller,
Lifeline callee,
Diagram diagram,
MessageData data)
Creates a new forward message to be drawn. |
|
| Method Summary | |
|---|---|
Answer |
getAnswerMessage()
Returns the answer to this forward message, if there is one, otherwise null. |
String |
getText()
Returns the text of the message, the string the message arrow is labeled by. |
protected boolean |
isActivating()
Returns a flag denoting if this message activates its receiver. |
void |
updateView()
Creates some space on the diagram, so that the message arrow and its label can be drawn, then draws them and creates some more space. |
| Methods inherited from class net.sf.sdedit.message.Message |
|---|
extendLifelines, getArrow, getCallee, getCaller, getConfiguration, getData, getDiagram, getThread, isSynchronous, setArrow, toString, v |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardMessage(Lifeline caller,
Lifeline callee,
Diagram diagram,
MessageData data)
caller - the caller lifelinecallee - the callee lifelinediagram - the diagram where to drawdata - the data of the message| Method Detail |
|---|
public Answer getAnswerMessage()
protected final boolean isActivating()
public void updateView()
Message
updateView in class Messagepublic String getText()
Message
getText in class MessageMessage.getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||