1 /*******************************************************************************
2 * Copyright (c) 2003, 2016 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.browser;
16 import org.eclipse.swt.internal.*;
19 * This listener interface may be implemented in order to receive
20 * a {@link StatusTextEvent} notification when the status text for
21 * a {@link Browser} is changed.
23 * @see Browser#addStatusTextListener(StatusTextListener)
24 * @see Browser#removeStatusTextListener(StatusTextListener)
29 public interface StatusTextListener extends SWTEventListener {
32 * This method is called when the status text is changed. The
33 * status text is typically displayed in the status bar of a browser
36 * <p>The following fields in the <code>StatusTextEvent</code> apply:</p>
38 * <li>(in) text the modified status text
39 * <li>(in) widget the <code>Browser</code> whose status text is changed
42 * @param event the <code>StatusTextEvent</code> that contains the updated
43 * status description of a <code>Browser</code>
47 public void changed(StatusTextEvent event);