java.lang.Object
java.awt.event.KeyAdapter
org.autogui.swing.log.GuiSwingLogList.LogTextFindAdapter
- All Implemented Interfaces:
KeyListener,EventListener,SearchFilterTextField.SearchRunner
- Enclosing class:
GuiSwingLogList
public static class GuiSwingLogList.LogTextFindAdapter
extends KeyAdapter
implements SearchFilterTextField.SearchRunner
the key-handler for starting searching
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalled when the enter-key is pressedvoidvoidvoidupdateText(String text) called when editing textMethods inherited from class java.awt.event.KeyAdapter
keyTyped
-
Field Details
-
list
-
findText
-
-
Constructor Details
-
LogTextFindAdapter
-
LogTextFindAdapter
-
-
Method Details
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener- Overrides:
keyPressedin classKeyAdapter
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener- Overrides:
keyReleasedin classKeyAdapter
-
updateText
Description copied from interface:SearchFilterTextField.SearchRunnercalled when editing text- Specified by:
updateTextin interfaceSearchFilterTextField.SearchRunner- Parameters:
text- the current input-text
-
action
Description copied from interface:SearchFilterTextField.SearchRunnercalled when the enter-key is pressed- Specified by:
actionin interfaceSearchFilterTextField.SearchRunner- Parameters:
text- the current input-textshiftDown- true if the SHIFT key is down
-