Class ChatTextController

java.lang.Object
games.stendhal.client.gui.chattext.ChatTextController

public class ChatTextController extends Object
  • Method Details

    • get

      public static ChatTextController get()
      Retrieves singleton instance.
      Returns:
      `ChatTextController` instance.
    • setFocus

      public boolean setFocus()
      Sets focus to chat input.
      Returns:
      `true` if focus change is likely to succeed.
    • getPlayerChatText

      public JTextComponent getPlayerChatText()
    • setChatLine

      public void setChatLine(String text)
    • addKeyListener

      public void addKeyListener(KeyListener l)
    • getText

      public String getText()
    • saveCache

      public void saveCache()