|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jface.text.CursorLinePainter
Paints the background of the cursor line in the configured color.
Field Summary |
Fields inherited from interface org.eclipse.jface.text.IPainter |
CONFIGURATION, INTERNAL, KEY_STROKE, MOUSE_BUTTON, SELECTION, TEXT_CHANGE |
Constructor Summary | |
CursorLinePainter(ISourceViewer sourceViewer)
|
Method Summary | |
void |
deactivate(boolean redraw)
Deactivates the painter. |
void |
dispose()
Disposes this painter. |
void |
lineGetBackground(LineBackgroundEvent event)
This method is called when a line is about to be drawn in order to get its background color. |
void |
paint(int reason)
|
void |
setHighlightColor(Color highlightColor)
|
void |
setPositionManager(IPaintPositionManager manager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CursorLinePainter(ISourceViewer sourceViewer)
Method Detail |
public void setHighlightColor(Color highlightColor)
public void lineGetBackground(LineBackgroundEvent event)
LineBackgroundListener
lineGetBackground
in interface LineBackgroundListener
public void deactivate(boolean redraw)
IPainter
XXX: The relationship with dispose is not yet defined.
deactivate
in interface IPainter
public void dispose()
IPainter
XXX: The relationship with deactivate is not yet defined.
dispose
in interface IPainter
public void paint(int reason)
paint
in interface IPainter
public void setPositionManager(IPaintPositionManager manager)
setPositionManager
in interface IPainter
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |