Package net.runelite.client.game.chatbox
Class ChatboxTextMenuInput
- java.lang.Object
-
- net.runelite.client.game.chatbox.ChatboxInput
-
- net.runelite.client.game.chatbox.ChatboxTextMenuInput
-
- All Implemented Interfaces:
KeyListener,EventListener,KeyListener
public class ChatboxTextMenuInput extends ChatboxInput implements KeyListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedChatboxTextMenuInput(ChatboxPanelManager chatboxPanelManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChatboxTextMenuInputbuild()protected voidclose()RunnablegetOnClose()List<net.runelite.client.game.chatbox.ChatboxTextMenuInput.Entry>getOptions()StringgetTitle()voidkeyPressed(KeyEvent e)voidkeyReleased(KeyEvent e)voidkeyTyped(KeyEvent e)ChatboxTextMenuInputonClose(Runnable onClose)protected voidopen()ChatboxTextMenuInputoption(String text, Runnable callback)ChatboxTextMenuInputtitle(String title)-
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
-
-
-
-
Constructor Detail
-
ChatboxTextMenuInput
@Inject protected ChatboxTextMenuInput(ChatboxPanelManager chatboxPanelManager)
-
-
Method Detail
-
title
public ChatboxTextMenuInput title(String title)
-
option
public ChatboxTextMenuInput option(String text, Runnable callback)
-
onClose
public ChatboxTextMenuInput onClose(Runnable onClose)
-
build
public ChatboxTextMenuInput build()
-
open
protected void open()
- Overrides:
openin classChatboxInput
-
close
protected void close()
- Overrides:
closein classChatboxInput
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTypedin interfaceKeyListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleasedin interfaceKeyListener
-
getTitle
public String getTitle()
-
getOptions
public List<net.runelite.client.game.chatbox.ChatboxTextMenuInput.Entry> getOptions()
-
getOnClose
public Runnable getOnClose()
-
-