Package codedraw

Interface EventHandler<TSender,TArgs>

Type Parameters:
TSender - The object that triggers the event.
TArgs - Argument of the event.

public interface EventHandler<TSender,TArgs>
A function that specifies what should happen when a specific event occurs.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(TSender sender, TArgs args)
    This function will generally be called by internal events and not by the user of this library.
  • Method Details

    • handle

      void handle(TSender sender, TArgs args)
      This function will generally be called by internal events and not by the user of this library.
      Parameters:
      sender - The object that triggers the event.
      args - Argument of the event.