edu.princeton.swing.text
public class DefaultAutoCompleter extends java.lang.Object implements AutoCompleter
Constructor and Description |
---|
DefaultAutoCompleter() |
Modifier and Type | Method and Description |
---|---|
boolean |
interceptKeyEvent(PHighlightedTextArea comp,
java.awt.event.KeyEvent e)
The PHighlightedTextArea will pass all key events to its auto-completer before processing
the event for itself.
|
public boolean interceptKeyEvent(PHighlightedTextArea comp, java.awt.event.KeyEvent e)
interceptKeyEvent
in interface AutoCompleter
comp
- The component which recieved the KeyEvent.e
- The event which occurred.