Class ChatCompletionHelper
java.lang.Object
java.awt.event.KeyAdapter
games.stendhal.client.gui.chattext.ChatCompletionHelper
- All Implemented Interfaces:
KeyListener,EventListener
Matches the entered text of chat with the online player list to enable tab completion of nicknames
- Author:
- madmetzger
-
Constructor Summary
ConstructorsConstructorDescriptionChatCompletionHelper(ChatTextController chatTextController, Set<String> nameList, Set<String> commands)Create a new ChatCompletionHelper -
Method Summary
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
-
Constructor Details
-
ChatCompletionHelper
public ChatCompletionHelper(ChatTextController chatTextController, Set<String> nameList, Set<String> commands)Create a new ChatCompletionHelper- Parameters:
chatTextController-nameList-commands- slash commands
-
-
Method Details
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener- Overrides:
keyPressedin classKeyAdapter
-