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 void
close()
Consumer<Integer>
getOnItemSelected()
void
keyPressed(KeyEvent ev)
ChatboxTextInput
onDone(Consumer<String> onDone)
Deprecated.ChatboxItemSearch
onItemSelected(Consumer<Integer> onItemSelected)
ChatboxItemSearch
tooltipText(String text)
protected void
update()
-
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:
update
in classChatboxTextInput
-
keyPressed
public void keyPressed(KeyEvent ev)
- Specified by:
keyPressed
in interfaceKeyListener
- Overrides:
keyPressed
in classChatboxTextInput
-
close
protected void close()
- Overrides:
close
in classChatboxTextInput
-
onDone
@Deprecated public ChatboxTextInput onDone(Consumer<String> onDone)
Deprecated.- Overrides:
onDone
in classChatboxTextInput
-
onItemSelected
public ChatboxItemSearch onItemSelected(Consumer<Integer> onItemSelected)
-
tooltipText
public ChatboxItemSearch tooltipText(String text)
-
-