org.eclipse.swt.custom
Interface LineStyleListener
-
All Superinterfaces:
-
EventListener, org.eclipse.swt.internal.SWTEventListener
-
All Known Implementing Classes:
-
TextConsoleViewer
-
public interface LineStyleListener
- extends org.eclipse.swt.internal.SWTEventListener
Classes which implement this interface provide a method
that can provide the style information for a line that
is to be drawn.
-
See Also:
-
LineStyleEvent
,
Sample code and further information
Method Summary
|
void
|
lineGetStyle
(
LineStyleEvent event)
This method is called when a line is about to be drawn in order to get the
line's style information. |
lineGetStyle
void lineGetStyle(
LineStyleEvent event)
- This method is called when a line is about to be drawn in order to get the
line's style information.
The following event fields are used:
- event.lineOffset line start offset (input)
- event.lineText line text (input)
- event.styles array of StyleRanges, need to be in order (output)
-
-
-
Parameters:
-
event
- the given event -
See Also:
-
LineStyleEvent
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.