]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/custom/CaretListener.java
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / custom / CaretListener.java
1 /*******************************************************************************
2  * Copyright (c) 2008, 2016 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.custom;
15
16 import org.eclipse.swt.internal.*;
17
18 /**
19  * This listener interface may be implemented in order to receive
20  * CaretEvents.
21  *
22  * @see CaretEvent
23  *
24  * @since 3.5
25  */
26 @FunctionalInterface
27 public interface CaretListener extends SWTEventListener {
28
29 /**
30  * This method is called after the caret offset is changed.
31  *
32  * The following event fields are used:<ul>
33  * <li>event.caretOffset the new caret offset (input)</li>
34  * </ul>
35  *
36  * @param event the given event
37  *
38  * @see CaretEvent
39  */
40 public void caretMoved(CaretEvent event);
41
42 }
43