Package org.fife.ui.autocomplete
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the text component's caret moves.void
void
Called when the text component gains focus.void
Called when the text component loses focus.private void
void
void
Installs this listener onto a text component.void
void
Uninstalls 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:
caretUpdate
in interfaceCaretListener
- Parameters:
e
- The event.
-
changedUpdate
- Specified by:
changedUpdate
in interfaceDocumentListener
-
focusGained
Called when the text component gains focus.- Specified by:
focusGained
in interfaceFocusListener
- Parameters:
e
- The event.
-
focusLost
Called when the text component loses focus.- Specified by:
focusLost
in interfaceFocusListener
- Parameters:
e
- The event.
-
handleDocumentEvent
-
insertUpdate
- Specified by:
insertUpdate
in interfaceDocumentListener
-
install
Installs this listener onto a text component.- Parameters:
tc
- The text component to install onto.- See Also:
-
removeUpdate
- Specified by:
removeUpdate
in interfaceDocumentListener
-
uninstall
public void uninstall()Uninstalls this listener from the current text component.
-