Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Interface LineBackgroundListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener
All Known Implementing Classes:
CursorLinePainter, TextConsoleViewer

public interface LineBackgroundListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide a method that can provide the background color for a line that is to be drawn.

See Also:
LineBackgroundEvent, Sample code and further information

Method Summary
 void lineGetBackground ( LineBackgroundEvent event)
          This method is called when a line is about to be drawn in order to get its background color.

Method Detail


void lineGetBackground(
LineBackgroundEvent event)
This method is called when a line is about to be drawn in order to get its background color.

The following event fields are used:

  • event.lineOffset line start offset (input)
  • event.lineText line text (input)
  • event.lineBackground line background color (output)

event - the given event
See Also:

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire