Mercurial > projects > dwt-mac
diff dwt/browser/StatusTextListener.d @ 0:380af2bdd8e5
Upload of whole dwt tree
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sat, 09 Aug 2008 17:00:02 +0200 |
parents | |
children | f565d3a95c0a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/browser/StatusTextListener.d Sat Aug 09 17:00:02 2008 +0200 @@ -0,0 +1,50 @@ +/******************************************************************************* + * Copyright (c) 2003, 2005 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 + * + * Port to the D Programming language: + * Jacob Carlborg <jacob.carlborg@gmail.com> + *******************************************************************************/ +module dwt.browser.StatusTextListener; + +import dwt.browser.StatusTextEvent; +import dwt.dwthelper.utils; +import dwt.internal.DWTEventListener; + +/** + * 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 + */ +public interface StatusTextListener : DWTEventListener { + + /** + * This method is called when the status text is changed. The + * status text is typically displayed in the status bar of a browser + * application. + * <p> + * + * <p>The following fields in the <code>StatusTextEvent</code> apply: + * <ul> + * <li>(in) text the modified status text + * <li>(in) widget the <code>Browser</code> whose status text is changed + * </ul> + * + * @param event the <code>StatusTextEvent</code> that contains the updated + * status description of a <code>Browser</code> + * + * @since 3.0 + */ + public void changed (StatusTextEvent event); +}