public class CommunicationEvent
extends javafx.event.Event
| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<CommunicationEvent> |
INCOMING_MESSAGE
The Constant INCOMING_MESSAGE.
|
| Constructor and Description |
|---|
CommunicationEvent(javafx.event.EventType<? extends javafx.event.Event> arg0)
Instantiates a new communication event.
|
| Modifier and Type | Method and Description |
|---|---|
de.unibox.core.network.object.CommunicatorMessage |
getMessageObject()
Gets the message object.
|
static javafx.scene.Node |
getRootTarget()
Gets the root target.
|
static void |
promote(de.unibox.core.network.object.CommunicatorMessage thisMessage)
Promote.
|
void |
setMessageObject(de.unibox.core.network.object.CommunicatorMessage thisMessage)
Sets the message object.
|
static void |
setTarget(javafx.scene.Node thisTarget)
Sets the target.
|
public static final javafx.event.EventType<CommunicationEvent> INCOMING_MESSAGE
public CommunicationEvent(javafx.event.EventType<? extends javafx.event.Event> arg0)
arg0 - the arg0public static javafx.scene.Node getRootTarget()
public static void promote(de.unibox.core.network.object.CommunicatorMessage thisMessage)
thisMessage - the this messagepublic static void setTarget(javafx.scene.Node thisTarget)
thisTarget - the new targetpublic de.unibox.core.network.object.CommunicatorMessage getMessageObject()
public void setMessageObject(de.unibox.core.network.object.CommunicatorMessage thisMessage)
thisMessage - the new message object