public abstract class SciJavaEvent extends AbstractContextual
Constructor and Description |
---|
SciJavaEvent() |
Modifier and Type | Method and Description |
---|---|
void |
consume() |
Thread |
getCallingThread()
Gets the thread that published the event.
|
StackTraceElement[] |
getStackTrace()
Gets the stack trace of the calling thread when the event was published.
|
boolean |
isConsumed() |
void |
setCallingThread(Thread callingThread)
Sets the thread that published the event.
|
void |
setConsumed(boolean consumed) |
String |
toString() |
context, getContext, setContext
public boolean isConsumed()
public void setConsumed(boolean consumed)
public void consume()
public Thread getCallingThread()
public void setCallingThread(Thread callingThread)
public StackTraceElement[] getStackTrace()
Copyright © 2009–2015 SciJava. All rights reserved.