TabsAPI
API for interacting with game tabs.
ClassRLPlugins API
public class TabsAPIMembers
Static methods
- TabforInterfaceGroup(int)
For interface group.
- TabforWidget(Widget)
For widget.
- WidgetgetTabWidget(Tab)
The visible side-tab stone for a tab in the current layout, or null.
- booleanisOpen(Tab)
Checks if the specified tab is currently open.
- voidopen(Tab)
Opens the specified tab.
- voidopenWithFKey(Tab)
Opens the specified tab using its configured F-key when one is set.
- voidopenWithMouse(Tab)
Opens the specified tab by clicking the visible side-tab widget.
forInterfaceGroup(int)static
public static Tab forInterfaceGroup(int groupId)For interface group.
Parameters
groupId- Group id.
forWidget(Widget)static
public static Tab forWidget(Widget widget)For widget.
Parameters
widget- Widget.
getTabWidget(Tab)static
public static Widget getTabWidget(Tab tab)The visible side-tab stone for a tab in the current layout, or null.
Client thread.
Parameters
tab- Tab.
Returns
Its tab stone widget.
isOpen(Tab)static
public static boolean isOpen(Tab tab)Checks if the specified tab is currently open.
Parameters
tab- The tab to check.
Returns
True if the tab is open, false otherwise.
open(Tab)static
public static void open(Tab tab)Opens the specified tab.
Parameters
tab- The tab to open.
openWithFKey(Tab)static
public static void openWithFKey(Tab tab)Opens the specified tab using its configured F-key when one is set.
Parameters
tab- Tab to open.
openWithMouse(Tab)static
public static void openWithMouse(Tab tab)Opens the specified tab by clicking the visible side-tab widget.
Parameters
tab- Tab to open.
Also allowed
Every class has these, as in plain Java.
equals, toString