25
|
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.custom.TextChangedEvent;
|
|
14
|
|
15 import org.eclipse.swt.events.TypedEvent;
|
|
16 import org.eclipse.swt.custom.StyledTextContent;
|
|
17 /**
|
|
18 * This event is sent by the StyledTextContent implementor when a change to
|
|
19 * the text occurs.
|
|
20 *
|
|
21 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
|
|
22 */
|
|
23 public class TextChangedEvent : TypedEvent {
|
|
24
|
|
25 /**
|
|
26 * Create the TextChangedEvent to be used by the StyledTextContent implementor.
|
|
27 * <p>
|
|
28 *
|
|
29 * @param source the object that will be sending the TextChangedEvent,
|
|
30 * cannot be null
|
|
31 */
|
|
32 public this(StyledTextContent source) {
|
|
33 super(cast(Object)source);
|
|
34 }
|
|
35 }
|