Class ParameterizedCompletionContext.Listener
java.lang.Object
org.fife.ui.autocomplete.ParameterizedCompletionContext.Listener
- All Implemented Interfaces:
FocusListener, EventListener, CaretListener, DocumentListener
- Enclosing class:
ParameterizedCompletionContext
private class ParameterizedCompletionContext.Listener
extends Object
implements FocusListener, CaretListener, DocumentListener
Listens for various events in the text component while this tool tip
is visible.
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the text component's caret moves.voidvoidCalled when the text component gains focus.voidCalled when the text component loses focus.private voidvoidvoidInstalls this listener onto a text component.voidvoidUninstalls this listener from the current text component.
-
Field Details
-
markOccurrencesEnabled
private boolean markOccurrencesEnabled
-
-
Constructor Details
-
Listener
private Listener()
-
-
Method Details
-
caretUpdate
Called when the text component's caret moves.- Specified by:
caretUpdatein interfaceCaretListener- Parameters:
e- The event.
-
changedUpdate
- Specified by:
changedUpdatein interfaceDocumentListener
-
focusGained
Called when the text component gains focus.- Specified by:
focusGainedin interfaceFocusListener- Parameters:
e- The event.
-
focusLost
Called when the text component loses focus.- Specified by:
focusLostin interfaceFocusListener- Parameters:
e- The event.
-
handleDocumentEvent
-
insertUpdate
- Specified by:
insertUpdatein interfaceDocumentListener
-
install
Installs this listener onto a text component.- Parameters:
tc- The text component to install onto.- See Also:
-
removeUpdate
- Specified by:
removeUpdatein interfaceDocumentListener
-
uninstall
public void uninstall()Uninstalls this listener from the current text component.
-