Class ClanChat


  • public class ClanChat
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClanChat()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ClanChatTab getSelected()
      Gets the currently selected ClanChatTab, Clan Tab open/closed is irrelevant
      static boolean isOpen​(ClanChatTab tab)
      Checks to see if a given clan chat tab is currently open, including checking the clan tab itself
      static boolean openChatTab​(ClanChatTab tab)
      Opens a given clan chat tab
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClanChat

        public ClanChat()
    • Method Detail

      • openChatTab

        public static boolean openChatTab​(ClanChatTab tab)
        Opens a given clan chat tab
        Parameters:
        tab - tab of the chat to open
        Returns:
        true if tab is already open or if successfully opens the tab
      • isOpen

        public static boolean isOpen​(ClanChatTab tab)
        Checks to see if a given clan chat tab is currently open, including checking the clan tab itself
        Parameters:
        tab - Clan chat tab to check
        Returns:
        True if Clan tab is open and ClanChatTab is selected
      • getSelected

        public static ClanChatTab getSelected()
        Gets the currently selected ClanChatTab, Clan Tab open/closed is irrelevant
        Returns:
        Currently selected ClanChatTab based on varbits