public class Tabs extends API
bank, bot, camera, chatbox, client, colorPicker, combat, configs, depositBox, dialogues, diaries, display, doorHandler, equipment, experienceTracker, favour, grandExchange, graphicObjects, groundItems, hintArrow, inventory, keyboard, logger, logoutTab, magic, map, menu, mouse, npcs, objects, players, prayer, projectiles, quests, settings, skills, store, tabs, trade, walking, widgets, worlds
Constructor and Description |
---|
Tabs() |
Modifier and Type | Method and Description |
---|---|
boolean |
areTabsAligned() |
RS2Widget |
getChildWidget(RS2Widget widget,
Tab tab) |
Tab |
getOpen()
Gets the currently open tab.
|
RS2Widget |
getTabWidget(Tab tab)
Gets the widget from a given tab
|
int |
getWidgetRootId() |
void |
initializeModule() |
boolean |
isOpen(Tab tab)
Determines if a given tab is currently open.
|
boolean |
open(Tab tab)
Opens a tab.
|
boolean |
open(Tab tab,
boolean useBind)
Opens a tab
|
exchangeContext, execute, getBank, getBot, getCamera, getChatbox, getClient, getColorPicker, getCombat, getConfigs, getDepositBox, getDialogues, getDiaries, getDisplay, getDoorHandler, getEquipment, getExperienceTracker, getFavour, getGrandExchange, getGraphicObjects, getGroundItems, getHintArrow, getInventory, getKeyboard, getLogoutTab, getMagic, getMap, getMenuAPI, getMouse, getNpcs, getObjects, getPlayers, getPrayer, getProjectiles, getQuests, getSettings, getSkills, getStore, getTabs, getTrade, getWalking, getWidgets, getWorlds, gRandom, gRandom, gRandom, initializeContext, log, log, myPlayer, myPosition, random, random, sleep, stripFormatting, warn
public void initializeModule()
initializeModule
in class API
public boolean areTabsAligned()
public int getWidgetRootId()
public Tab getOpen()
public RS2Widget getTabWidget(Tab tab)
tab
- The tab to get the widget frompublic boolean isOpen(Tab tab)
tab
- The tab to checkpublic boolean open(Tab tab)
tab
- The tab.public boolean open(Tab tab, boolean useBind)
tab
- The tab to openuseBind
- True if keybinds should be attempted