Package net.runelite.client.game.chatbox
Class ChatboxItemSearch
- java.lang.Object
-
- net.runelite.client.game.chatbox.ChatboxInput
-
- net.runelite.client.game.chatbox.ChatboxTextInput
-
- net.runelite.client.game.chatbox.ChatboxItemSearch
-
- All Implemented Interfaces:
KeyListener,EventListener,KeyListener,MouseListener
@Singleton public class ChatboxItemSearch extends ChatboxTextInput
-
-
Field Summary
-
Fields inherited from class net.runelite.client.game.chatbox.ChatboxTextInput
clientThread
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidclose()Consumer<Integer>getOnItemSelected()voidkeyPressed(KeyEvent ev)ChatboxTextInputonDone(Consumer<String> onDone)Deprecated.ChatboxItemSearchonItemSelected(Consumer<Integer> onItemSelected)ChatboxItemSearchtooltipText(String text)protected voidupdate()-
Methods inherited from class net.runelite.client.game.chatbox.ChatboxTextInput
addCharValidator, build, buildEdit, charValidator, cursorAt, cursorAt, fontID, getCharValidator, getCursorEnd, getCursorStart, getFontID, getLines, getOnChanged, getOnClose, getOnDone, getPrompt, getValue, isBuilt, keyReleased, keyTyped, lines, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, onChanged, onClose, onDone, open, prompt, value
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.runelite.client.input.KeyListener
focusLost, isEnabledOnLoginScreen
-
-
-
-
Method Detail
-
update
protected void update()
- Overrides:
updatein classChatboxTextInput
-
keyPressed
public void keyPressed(KeyEvent ev)
- Specified by:
keyPressedin interfaceKeyListener- Overrides:
keyPressedin classChatboxTextInput
-
close
protected void close()
- Overrides:
closein classChatboxTextInput
-
onDone
@Deprecated public ChatboxTextInput onDone(Consumer<String> onDone)
Deprecated.- Overrides:
onDonein classChatboxTextInput
-
onItemSelected
public ChatboxItemSearch onItemSelected(Consumer<Integer> onItemSelected)
-
tooltipText
public ChatboxItemSearch tooltipText(String text)
-
-