Package net.runelite.api.widgets
Class WidgetConfig
- java.lang.Object
-
- net.runelite.api.widgets.WidgetConfig
-
public final class WidgetConfig extends Object
Utility class used for defining options to be used on the click mask of aWidget
.- See Also:
Widget.getClickMask()
-
-
Field Summary
Fields Modifier and Type Field Description static int
DRAG
Controls whether this widget can be dragged around.static int
DRAG_ON
Controls whether this widget can have other widgets dragged onto it.static int
SHOW_MENU_OPTION_NINE
Enables displaying a ninth option on a menu.static int
USE_GROUND_ITEM
Can this widget be used on a item on the floorstatic int
USE_ITEM
Deprecated.static int
USE_NPC
Can this widget be used on a NPCstatic int
USE_OBJECT
Can this widget be used on a game objectstatic int
USE_PLAYER
Can this widget be used on a playerstatic int
USE_WIDGET
Can this widget be used on a widget with the WIDGET_USE_TARGET flagstatic int
WIDGET_USE_TARGET
Can widgets with USE_WIDGET be used on this widget
-
Constructor Summary
Constructors Constructor Description WidgetConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
transmitAction(int action)
Does the action (zero bosed) get transmitted to the server when clicked
-
-
-
Field Detail
-
SHOW_MENU_OPTION_NINE
public static final int SHOW_MENU_OPTION_NINE
Enables displaying a ninth option on a menu.- See Also:
- Constant Field Values
-
USE_GROUND_ITEM
public static final int USE_GROUND_ITEM
Can this widget be used on a item on the floor- See Also:
- Constant Field Values
-
USE_NPC
public static final int USE_NPC
Can this widget be used on a NPC- See Also:
- Constant Field Values
-
USE_OBJECT
public static final int USE_OBJECT
Can this widget be used on a game object- See Also:
- Constant Field Values
-
USE_PLAYER
public static final int USE_PLAYER
Can this widget be used on a player- See Also:
- Constant Field Values
-
USE_ITEM
@Deprecated public static final int USE_ITEM
Deprecated.Can this widget be used on a item in your inventory- See Also:
- Constant Field Values
-
USE_WIDGET
public static final int USE_WIDGET
Can this widget be used on a widget with the WIDGET_USE_TARGET flag- See Also:
- Constant Field Values
-
DRAG
public static final int DRAG
Controls whether this widget can be dragged around.- See Also:
- Constant Field Values
-
DRAG_ON
public static final int DRAG_ON
Controls whether this widget can have other widgets dragged onto it.- See Also:
- Constant Field Values
-
WIDGET_USE_TARGET
public static final int WIDGET_USE_TARGET
Can widgets with USE_WIDGET be used on this widget- See Also:
- Constant Field Values
-
-