139140141142143144145
public void windowOpened(WindowEvent e) { } @Override public void windowClosing(WindowEvent e) { fireClose(new CloseEvent(this)); }
160161162163164165166
/** * This method is called immediately when the widget's close method is * executed. */ protected void onClose() { fireEvent(new CloseEvent()); }
159160161162163164165
1356135713581359136013611362
setShouldCloseContainer(false); } // inform the listeners super.onClose(new CloseEvent(this)); }
686687688689690691692
setShouldCloseContainer(false); } // tell the listeners that the container is closed super.onClose(new CloseEvent(this)); }
1349135013511352135313541355
590591592593594595596597598599600
if (handler != null) { IoHandlerExecutor executor = getService().getIoHandlerExecutor(); if (executor != null) { // asynchronous event executor.execute(new CloseEvent(this)); } else { // synchronous call (in the I/O loop) handler.sessionClosed(this); } }
422423424425426427428
* @param nextFilter The next filter in the chain. * @param session The Mina session. */ public void sessionClosed(final NextFilter nextFilter, final IoSession session) { fireAsynchEvent(session, new CloseEvent(nextFilter)); }