1 /*******************************************************************************
2 * Copyright (c) 2003, 2017 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;
17 * This adapter class provides default implementations for the
18 * methods described by the {@link LocationListener} interface.
20 * Classes that wish to deal with {@link LocationEvent}'s can
21 * extend this class and override only the methods which they are
25 * An alternative to this class are the static helper methods in
26 * {@link LocationListener},
27 * which accept a lambda expression or a method reference that implements the event consumer.
30 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
34 public abstract class LocationAdapter implements LocationListener {
37 public void changing(LocationEvent event) {
41 public void changed(LocationEvent event) {