KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > custom > TextChangedEvent


1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 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  *******************************************************************************/

11 package org.eclipse.swt.custom;
12
13 import org.eclipse.swt.events.*;
14
15 /**
16  * This event is sent by the StyledTextContent implementor when a change to
17  * the text occurs.
18  */

19 public class TextChangedEvent extends TypedEvent {
20
21     static final long serialVersionUID = 3258696524257835065L;
22
23 /**
24  * Create the TextChangedEvent to be used by the StyledTextContent implementor.
25  * <p>
26  *
27  * @param source the object that will be sending the TextChangedEvent,
28  * cannot be null
29  */

30 public TextChangedEvent(StyledTextContent source) {
31     super(source);
32 }
33 }
34
Popular Tags