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