Mercurial > projects > dwt-mac
comparison dwt/browser/LocationAdapter.d @ 125:5583f8eeee6c
Synced mozilla with dwt-linux
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 16 Jan 2009 12:49:08 +0100 |
parents | d8635bb48c7c |
children |
comparison
equal
deleted
inserted
replaced
124:540fa4e9974a | 125:5583f8eeee6c |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2003, 2008 IBM Corporation and others. | 2 * Copyright (c) 2003, 2004 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * | |
11 * Port to the D programming language: | 10 * Port to the D programming language: |
12 * Jacob Carlborg <doob@me.com> | 11 * John Reimer <terminal.node@gmail.com> |
13 *******************************************************************************/ | 12 *******************************************************************************/ |
14 module dwt.browser.LocationAdapter; | 13 module dwt.browser.LocationAdapter; |
15 | 14 |
16 import dwt.browser.LocationListener; | 15 import dwt.browser.LocationListener; |
17 import dwt.browser.LocationEvent; | 16 import dwt.browser.LocationEvent; |
18 import dwt.dwthelper.utils; | |
19 | 17 |
20 /** | 18 /** |
21 * This adapter class provides default implementations for the | 19 * This adapter class provides default implementations for the |
22 * methods described by the {@link LocationListener} interface. | 20 * methods described by the {@link LocationListener} interface. |
23 * <p> | 21 * <p> |
24 * Classes that wish to deal with {@link LocationEvent}'s can | 22 * Classes that wish to deal with {@link LocationEvent}'s can |
25 * extend this class and override only the methods which they are | 23 * extend this class and override only the methods which they are |
26 * interested in. | 24 * interested in. |
27 * </p> | 25 * </p> |
28 * | 26 * |
29 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | |
30 * | |
31 * @since 3.0 | 27 * @since 3.0 |
32 */ | 28 */ |
33 public abstract class LocationAdapter : LocationListener { | 29 public abstract class LocationAdapter : LocationListener { |
34 | 30 |
35 public void changing(LocationEvent event) { | 31 public void changing(LocationEvent event) { |