blob: 267f5dbe2bf40e9800b21ffa75fb4dc90cdf8251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package org.eclipse.swt.custom;
/*
* Copyright (c) 2000, 2002 IBM Corp. All rights reserved.
* This file is made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*/
import org.eclipse.swt.internal.SWTEventListener;
/**
* This listener interface may be implemented in order to receive
* BidiSegmentEvents.
* @see BidiSegmentEvent
*/
public interface BidiSegmentListener extends SWTEventListener {
/**
* This method is called when a line needs to be reordered for
* measuring or rendering in a bidi locale.
* <p>
*
* @param event.lineOffset line start offset (input)
* @param event.lineText line text (input)
* @param event.segments text segments that should be reordered
* separately. (output)
* @see BidiSegmentEvent
*/
public void lineGetSegments(BidiSegmentEvent event);
}
|