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.
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddTo(JTextComponent tc) voidvoidvoidvoidvoidvoidvoidMethods inherited from class FocusAdapter
focusGained
-
Field Details
-
timer
-
justInserted
private boolean justInserted
-
-
Constructor Details
-
AutoActivationListener
AutoActivationListener()
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
addTo
-
caretUpdate
- Specified by:
caretUpdatein interfaceCaretListener
-
changedUpdate
- Specified by:
changedUpdatein interfaceDocumentListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener- Overrides:
focusLostin classFocusAdapter
-
insertUpdate
- Specified by:
insertUpdatein interfaceDocumentListener
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
removeFrom
-
removeUpdate
- Specified by:
removeUpdatein interfaceDocumentListener
-