Interface TabPageCloseHandler


public interface TabPageCloseHandler
Tab page closing handler interface.
Since:
4.0
Author:
JBStrap
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onClose(TabPage tabPage)
    Tab page closing event handler.
  • Method Details

    • onClose

      boolean onClose(TabPage tabPage)

      Tab page closing event handler.

      The event is handled if the user closes the tab page. By default, a tab page cannot be closed. First, tab page closing must be enabled.

      Parameters:
      tabPage - The closed tab page instance
      Returns:
      If true is returned, the tab page is closed If false is returned, the tab page cannot be closed.
      See Also: