|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.PaintManager
Manages the IPainter object registered with an ITextViewer.
Clients usually instantiate and configure objects of this type.
Constructor Summary | |
PaintManager(ITextViewer textViewer)
Creates a new paint manager for the given text viewer. |
Method Summary | |
void | addPainter(IPainter painter)
Adds the given painter to the list of painters managed by this paint manager. |
void | dispose()
Disposes this paint manager. |
void | inputDocumentAboutToBeChanged(IDocument oldInput,
IDocument newInput)
Called before the input document is replaced. |
void | inputDocumentChanged(IDocument oldInput,
IDocument newInput)
Called after the input document has been replaced. |
void | keyPressed(KeyEvent e)
Sent when a key is pressed on the system keyboard. |
void | keyReleased(KeyEvent e)
Sent when a key is released on the system keyboard. |
void | mouseDoubleClick(MouseEvent e)
Sent when a mouse button is pressed twice within the (operating system specified) double click period. |
void | mouseDown(MouseEvent e)
Sent when a mouse button is pressed. |
void | mouseUp(MouseEvent e)
Sent when a mouse button is released. |
void | removePainter(IPainter painter)
Removes the given painter from the list of painters managed by this paint manager. |
void | selectionChanged(SelectionChangedEvent event)
Notifies that the selection has changed. |
void | textChanged(TextEvent event)
The visual representation of a text viewer this listener is registered with has been changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PaintManager(ITextViewer textViewer)
Method Detail |
public void addPainter(IPainter painter)
public void removePainter(IPainter painter)
public void dispose()
public void keyPressed(KeyEvent e)
public void keyReleased(KeyEvent e)
public void mouseDoubleClick(MouseEvent e)
public void mouseDown(MouseEvent e)
public void mouseUp(MouseEvent e)
public void selectionChanged(SelectionChangedEvent event)
public void textChanged(TextEvent event)
public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)
public void inputDocumentChanged(IDocument oldInput, IDocument newInput)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.