1 /*******************************************************************************
2  * Copyright (c) 2003, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  * Port to the D programming language:
11  *      John Reimer <terminal.node@gmail.com>
12  *******************************************************************************/
13 module org.eclipse.swt.browser.StatusTextListener;
14 
15 import org.eclipse.swt.browser.StatusTextEvent;
16 //import java.lang.all;
17 
18 import org.eclipse.swt.internal.SWTEventListener;
19 
20 /**
21  * This listener interface may be implemented in order to receive
22  * a {@link StatusTextEvent} notification when the status text for
23  * a {@link Browser} is changed.
24  * 
25  * @see Browser#addStatusTextListener(StatusTextListener)
26  * @see Browser#removeStatusTextListener(StatusTextListener)
27  * 
28  * @since 3.0
29  */
30 public interface StatusTextListener : SWTEventListener {
31 
32 /**
33  * This method is called when the status text is changed. The
34  * status text is typically displayed in the status bar of a browser 
35  * application. 
36  * <p>
37  *
38  * <p>The following fields in the <code>StatusTextEvent</code> apply:
39  * <ul>
40  * <li>(in) text the modified status text
41  * <li>(in) widget the <code>Browser</code> whose status text is changed
42  * </ul>
43  * 
44  * @param event the <code>StatusTextEvent</code> that contains the updated
45  * status description of a <code>Browser</code>
46  * 
47  * @since 3.0
48  */
49 public void changed(StatusTextEvent event);
50 }