Class SciJavaEvent

    • Constructor Detail

      • SciJavaEvent

        public SciJavaEvent()
    • Method Detail

      • isConsumed

        public boolean isConsumed()
      • setConsumed

        public void setConsumed​(boolean consumed)
      • consume

        public void consume()
      • getCallingThread

        public Thread getCallingThread()
        Gets the thread that published the event.
      • setCallingThread

        public void setCallingThread​(Thread callingThread)
        Sets the thread that published the event.
      • getStackTrace

        public StackTraceElement[] getStackTrace()
        Gets the stack trace of the calling thread when the event was published. This method is useful for debugging what triggered an event.
      • dumpStack

        public String dumpStack()
        Gets a stack trace for the calling thread when the event was published. This method is useful for debugging what triggered an event.