Package org.fife.ui.autocomplete
Class AutoCompletion.AutoActivationListener
java.lang.Object
java.awt.event.FocusAdapter
org.fife.ui.autocomplete.AutoCompletion.AutoActivationListener
- All Implemented Interfaces:
ActionListener
,FocusListener
,PropertyChangeListener
,EventListener
,CaretListener
,DocumentListener
- Enclosing class:
AutoCompletion
private class AutoCompletion.AutoActivationListener
extends FocusAdapter
implements DocumentListener, CaretListener, ActionListener, PropertyChangeListener
Listens for events in the text component to auto-activate the code
completion popup.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTo
(JTextComponent tc) void
void
void
void
void
void
void
Methods inherited from class java.awt.event.FocusAdapter
focusGained
-
Field Details
-
timer
-
justInserted
private boolean justInserted
-
-
Constructor Details
-
AutoActivationListener
AutoActivationListener()
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
addTo
-
caretUpdate
- Specified by:
caretUpdate
in interfaceCaretListener
-
changedUpdate
- Specified by:
changedUpdate
in interfaceDocumentListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
- Overrides:
focusLost
in classFocusAdapter
-
insertUpdate
- Specified by:
insertUpdate
in interfaceDocumentListener
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
removeFrom
-
removeUpdate
- Specified by:
removeUpdate
in interfaceDocumentListener
-