1 /******************************************************************************* 2 * Copyright (c) 2000, 2008 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 * Port to the D programming language: 11 * Frank Benoit <benoit@tionex.de> 12 *******************************************************************************/ 13 module org.eclipse.swt.events.FocusEvent; 14 15 16 import org.eclipse.swt.widgets.Event; 17 import org.eclipse.swt.events.TypedEvent; 18 19 /** 20 * Instances of this class are sent as a result of 21 * widgets gaining and losing focus. 22 * 23 * @see FocusListener 24 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 25 */ 26 27 public final class FocusEvent : TypedEvent { 28 29 //static const long serialVersionUID = 3258134643684227381L; 30 31 /** 32 * Constructs a new instance of this class based on the 33 * information in the given untyped event. 34 * 35 * @param e the untyped event containing the information 36 */ 37 public this(Event e) { 38 super(e); 39 } 40 41 } 42