]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/browser/TitleListener.java
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / browser / TitleListener.java
1 /*******************************************************************************
2  * Copyright (c) 2003, 2016 IBM Corporation and others.
3  *
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/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.browser;
15
16 import org.eclipse.swt.internal.*;
17
18 /**
19  * This listener interface may be implemented in order to receive
20  * a {@link TitleEvent} notification when the title of the document
21  * displayed in a {@link Browser} is known or has been changed.
22  *
23  * @see Browser#addTitleListener(TitleListener)
24  * @see Browser#removeTitleListener(TitleListener)
25  *
26  * @since 3.0
27  */
28 @FunctionalInterface
29 public interface TitleListener extends SWTEventListener {
30
31 /**
32  * This method is called when the title of the current document
33  * is available or has changed.
34  *
35  * <p>The following fields in the <code>TitleEvent</code> apply:</p>
36  * <ul>
37  * <li>(in) title the title of the current document
38  * <li>(in) widget the <code>Browser</code> whose current document's
39  * title is known or modified
40  * </ul>
41  *
42  * @param event the <code>TitleEvent</code> that contains the title
43  * of the document currently displayed in a <code>Browser</code>
44  *
45  * @since 3.0
46  */
47 public void changed(TitleEvent event);
48 }