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 TypeMethodDescriptionvoid
called when the enter-key is pressedvoid
void
void
updateText
(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:
keyPressed
in interfaceKeyListener
- Overrides:
keyPressed
in classKeyAdapter
-
keyReleased
- Specified by:
keyReleased
in interfaceKeyListener
- Overrides:
keyReleased
in classKeyAdapter
-
updateText
Description copied from interface:SearchFilterTextField.SearchRunner
called when editing text- Specified by:
updateText
in interfaceSearchFilterTextField.SearchRunner
- Parameters:
text
- the current input-text
-
action
Description copied from interface:SearchFilterTextField.SearchRunner
called when the enter-key is pressed- Specified by:
action
in interfaceSearchFilterTextField.SearchRunner
- Parameters:
text
- the current input-textshiftDown
- true if the SHIFT key is down
-