In package com.eden.orchid.api.events

public abstract class OrchidEvent<T> extends Object

since: v1.0.0 public abstract

A generic representation of an Event used to communicate intended or completed actions and extend core functionality.

Constructors

OrchidEvent(String type, Object sender) public since: v1.0.0

Initialize this Event with the Object that is sending it out, typically `this`, but may be a dedicated Sender class object.

Parameters:
  • String type

    the sender
  • Object sender
OrchidEvent(Object sender) public since: v1.0.0

Initialize this Event with the Object that is sending it out, typically `this`, but may be a dedicated Sender class object. The Event class's simple name is used for the type

Parameters:
  • Object sender

    the sender

Methods

String toString() public
Method Annotations:
@Override