KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.internal.SWTEventListener;
14
15 public interface ExtendedModifyListener extends SWTEventListener {
16 /**
17  * This method is called after a text change occurs.
18  * <p>
19  * The following event fields are used:<ul>
20  * <li>event.start the start offset of the new text (input)</li>
21  * <li>event.length the length of the new text (input)</li>
22  * <li>event.replacedText the replaced text (input)</li>
23  * </ul>
24  *
25  * @param event the given event
26  * @see ExtendedModifyEvent
27  */

28 public void modifyText(ExtendedModifyEvent event);
29 }
30
31
32
Popular Tags