01: /*******************************************************************************
02: * Copyright (c) 2000, 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: * Darrell Meyer <darrell@mygwt.net> - derived implementation
11: *******************************************************************************/package net.mygwt.ui.client.event;
12:
13: import java.util.EventListener;
14:
15: /**
16: * Classes which implement this interface provide methods that deal with changes
17: * in state of <code>Shells</code>.
18: */
19: public interface ShellListener extends EventListener {
20:
21: /**
22: * Fires when a shell becomes the active window.
23: *
24: * @param be an event containing information about the activation
25: */
26: public void shellActivated(BaseEvent be);
27:
28: /**
29: * Fires when a shell is closed.
30: *
31: * @param be an event containing information about the close
32: *
33: */
34: public void shellClosed(BaseEvent be);
35:
36: /**
37: * Fires when a shell stops being the active window.
38: *
39: * @param be an event containing information about the deactivation
40: */
41: public void shellDeactivated(BaseEvent be);
42: }
|