Class JebClientEvent
java.lang.Object
com.pnfsoftware.jeb.client.events.JebClientEvent
- All Implemented Interfaces:
IEvent
Events issued by JEB's GUI client.
Reserved for internal use.
-
Constructor Summary
ConstructorsConstructorDescriptionJebClientEvent(JC type) Create a client event with no payload and no explicit source.JebClientEvent(JC type, Object data) Create a client event with a payload and no explicit source.JebClientEvent(JC type, Object data, IEventSource source) Create a client event. -
Method Summary
-
Constructor Details
-
JebClientEvent
Create a client event with no payload and no explicit source.- Parameters:
type- event type
-
JebClientEvent
Create a client event with a payload and no explicit source.- Parameters:
type- event typedata- optional event payload
-
JebClientEvent
Create a client event.- Parameters:
type- event typedata- optional event payloadsource- optional event source
-
-
Method Details
-
getType
Get the event type. -
getData
Get the optional event payload. -
getSource
Get the event source. -
getTimestamp
public long getTimestamp()Get the event creation timestamp.- Specified by:
getTimestampin interfaceIEvent- Returns:
- a timestamp expressed in milliseconds since the epoch
-
shouldStopPropagation
public boolean shouldStopPropagation()Determine whether event propagation should stop.- Specified by:
shouldStopPropagationin interfaceIEvent- Returns:
- true if propagation should stop
-
toString
-