KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > browser > StatusTextListener


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  *******************************************************************************/

11 package org.eclipse.swt.browser;
12
13 import org.eclipse.swt.internal.SWTEventListener;
14
15 /**
16  * This listener interface may be implemented in order to receive
17  * a {@link StatusTextEvent} notification when the status text for
18  * a {@link Browser} is changed.
19  *
20  * @see Browser#addStatusTextListener(StatusTextListener)
21  * @see Browser#removeStatusTextListener(StatusTextListener)
22  *
23  * @since 3.0
24  */

25 public interface StatusTextListener extends SWTEventListener {
26
27 /**
28  * This method is called when the status text is changed. The
29  * status text is typically displayed in the status bar of a browser
30  * application.
31  * <p>
32  *
33  * <p>The following fields in the <code>StatusTextEvent</code> apply:
34  * <ul>
35  * <li>(in) text the modified status text
36  * <li>(in) widget the <code>Browser</code> whose status text is changed
37  * </ul>
38  *
39  * @param event the <code>StatusTextEvent</code> that contains the updated
40  * status description of a <code>Browser</code>
41  *
42  * @since 3.0
43  */

44 public void changed(StatusTextEvent event);
45 }
46
Popular Tags