Interface ICloseable

All Known Implementing Classes:
SearchPaneController

public interface ICloseable
Interface for closing actions
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the unit.
    void
    onClose(Runnable closer)
    Set a function to handle the close event.
  • Method Details

    • onClose

      void onClose(Runnable closer)
      Set a function to handle the close event.
      Parameters:
      closer - the function to call when close() is called
    • close

      void close()
      Close the unit. This will invoke the onClose(Runnable) handler.