Mercurial > projects > dwt-mac
comparison dwt/custom/LineStyleListener.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 | 6337764516f1 |
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 module dwt.custom; | |
12 | |
13 import dwt.internal.DWTEventListener; | |
14 | |
15 public interface LineStyleListener : DWTEventListener { | |
16 /** | |
17 * This method is called when a line is about to be drawn in order to get the | |
18 * line's style information. | |
19 * <p> | |
20 * The following event fields are used:<ul> | |
21 * <li>event.lineOffset line start offset (input)</li> | |
22 * <li>event.lineText line text (input)</li> | |
23 * <li>event.styles array of StyleRanges, need to be in order (output)</li> | |
24 * </ul> | |
25 * | |
26 * @param event the given event | |
27 * @see LineStyleEvent | |
28 */ | |
29 public void lineGetStyle(LineStyleEvent event); | |
30 } |