Interface BaseTabbedPane.MiddleMouseButtonCloseApprover

  • Enclosing class:
    BaseTabbedPane

    public static interface BaseTabbedPane.MiddleMouseButtonCloseApprover
    Interface for classes that can hook into the closing using the middle mouse button and stop it.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • approveClosingWithMiddleMouseButton

        boolean approveClosingWithMiddleMouseButton​(BaseTabbedPane source,
                                                    MouseEvent e)
        Method gets called when having to approve a middle mouse button click.
        Parameters:
        source - the origin of the click
        e - the mouse event