comparison dwt/custom/BidiSegmentListener.d @ 0:380af2bdd8e5

Upload of whole dwt tree
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Sat, 09 Aug 2008 17:00:02 +0200
parents
children f565d3a95c0a
comparison
equal deleted inserted replaced
-1:000000000000 0:380af2bdd8e5
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 * Port to the D Programming language:
12 * Jacob Carlborg <jacob.carlborg@gmail.com>
13 *******************************************************************************/
14 module dwt.custom.BidiSegmentListener;
15
16 import dwt.custom.BidiSegmentEvent;
17 import dwt.internal.DWTEventListener;
18
19 /**
20 * This listener interface may be implemented in order to receive
21 * BidiSegmentEvents.
22 * @see BidiSegmentEvent
23 */
24 public interface BidiSegmentListener : DWTEventListener {
25
26 /**
27 * This method is called when a line needs to be reordered for
28 * measuring or rendering in a bidi locale.
29 * <p>
30 * The following event fields are used:<ul>
31 * <li>event.lineOffset line start offset (input)</li>
32 * <li>event.lineText line text (input)</li>
33 * <li>event.segments text segments that should be reordered
34 * separately. (output)</li>
35 * </ul>
36 *
37 * @param event the given event
38 * separately. (output)
39 * @see BidiSegmentEvent
40 */
41 public void lineGetSegments (BidiSegmentEvent event);
42
43 }