Package 

Class Event

  • All Implemented Interfaces:

    
    public class Event<T extends Object>
    
                        

    Used as a wrapper for data that represents an event.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Event(T content)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getHasBeenHandled()
      final T getContentIfNotHandled() Returns the content and prevents its use again.
      final T peekContent() Returns the content, even if it's already been handled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait