Package org.dreambot.api.methods.tabs
Class Tabs
- java.lang.Object
- 
- org.dreambot.api.methods.tabs.Tabs
 
- 
 public class Tabs extends java.lang.Object
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static @Nullable TabgetOpen()Gets the currently open tabstatic booleanisDisabled(@NonNull Tab tab)Checks if the tab is disabled.static booleanisOpen(@NonNull Tab tab)Checks if tab is openstatic voidlogout()Deprecated.seeClient.logout()static booleanopen(@NonNull Tab tab)Opens specified tabstatic booleanopenWithFKey(@NonNull Tab tab)Opens the tab using F keys.static booleanopenWithMouse(@NonNull Tab tab)Opens the tab using the mouse.
 
- 
- 
- 
Method Detail- 
isOpenpublic static boolean isOpen(@NonNull Tab tab) Checks if tab is open- Parameters:
- tab- Tab to check
- Returns:
- True if open, else False
 
 - 
getOpenpublic static @Nullable Tab getOpen() Gets the currently open tab- Returns:
- Tab that is currently open
 
 - 
openpublic static boolean open(@NonNull Tab tab) Opens specified tab- Parameters:
- tab- Tab to open
- Returns:
- True if tab is opened, else False
 
 - 
openWithFKeypublic static boolean openWithFKey(@NonNull 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.
 
 - 
openWithMousepublic static boolean openWithMouse(@NonNull Tab tab) Opens the tab using the mouse.- Parameters:
- tab- Tab to open.
- Returns:
- Whether tab was successfully opened or not.
 
 - 
isDisabledpublic static boolean isDisabled(@NonNull Tab tab) Checks if the tab is disabled.- Parameters:
- tab- Tab to check
- Returns:
- True if disabled, else False
 
 - 
logout@Deprecated public static void logout() Deprecated.seeClient.logout()Opens logout tab and clicks logout button
 
- 
 
-