Class Tabs


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

      Constructors 
      Constructor Description
      Tabs()
      Deprecated.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static Tab getOpen()
      Gets the currently open tab
      static Tabs getTabs()
      Deprecated.
      static boolean isDisabled​(Tab tab)
      Checks if the tab is disabled.
      static boolean isOpen​(Tab tab)
      Checks if tab is open
      static void logout()
      Opens logout tab and clicks logout button
      static boolean open​(Tab tab)
      Opens specified tab
      static boolean openWithFKey​(Tab tab)
      Opens the tab using F keys.
      static boolean openWithMouse​(Tab tab)
      Opens the tab using the mouse.
      • Methods inherited from class java.lang.Object

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

      • Tabs

        @Deprecated
        public Tabs()
        Deprecated.
    • Method Detail

      • getTabs

        @Deprecated
        public static Tabs getTabs()
        Deprecated.
      • isOpen

        public static boolean isOpen​(Tab tab)
        Checks if tab is open
        Parameters:
        tab - Tab to check
        Returns:
        True if open, else False
      • getOpen

        public static Tab getOpen()
        Gets the currently open tab
        Returns:
        Tab that is currently open
      • open

        public static boolean open​(Tab tab)
        Opens specified tab
        Parameters:
        tab - Tab to open
        Returns:
        True if tab is opened, else False
      • openWithFKey

        public static boolean openWithFKey​(Tab tab)
        Opens the tab using F keys. NOTE: DOESN'T WORK WITH LOGOUT TAB.
        Parameters:
        tab - Tab to open
        Returns:
        Whether tab was successfully opened or not.
      • openWithMouse

        public static boolean openWithMouse​(Tab tab)
        Opens the tab using the mouse.
        Parameters:
        tab - Tab to open.
        Returns:
        Whether tab was successfully opened or not.
      • isDisabled

        public static boolean isDisabled​(Tab tab)
        Checks if the tab is disabled.
        Parameters:
        tab - Tab to check
        Returns:
        True if disabled, else False
      • logout

        public static void logout()
        Opens logout tab and clicks logout button