Class VoidHandler

java.lang.Object
dev.webfx.platform.async.VoidHandler
All Implemented Interfaces:
Handler<Void>

public abstract class VoidHandler extends Object implements Handler<Void>
This class can be used for simple handlers which don't receive any value.
Author:
Bruno Salmon
  • Constructor Details

    • VoidHandler

      public VoidHandler()
  • Method Details

    • handle

      public final void handle(Void event)
      Description copied from interface: Handler
      Something has happened, so handle it.
      Specified by:
      handle in interface Handler<Void>
      Parameters:
      event - the event to handle
    • handle

      protected abstract void handle()
      Handle the event. It should be overridden by the user.