org.eclipse.swt.browser.StatusTextListener Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2003, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.swt.browser;
import org.eclipse.swt.internal.*;
/**
* This listener interface may be implemented in order to receive
* a {@link StatusTextEvent} notification when the status text for
* a {@link Browser} is changed.
*
* @see Browser#addStatusTextListener(StatusTextListener)
* @see Browser#removeStatusTextListener(StatusTextListener)
*
* @since 3.0
*/
@FunctionalInterface
public interface StatusTextListener extends SWTEventListener {
/**
* This method is called when the status text is changed. The
* status text is typically displayed in the status bar of a browser
* application.
*
*
*
The following fields in the StatusTextEvent
apply:
*
* - (in) text the modified status text
*
- (in) widget the
Browser
whose status text is changed
*
*
* @param event the StatusTextEvent
that contains the updated
* status description of a Browser
*
* @since 3.0
*/
public void changed(StatusTextEvent event);
}