Package net.runelite.api.widgets
Class WidgetConfig
- java.lang.Object
-
- net.runelite.api.widgets.WidgetConfig
-
public 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 or not a widget can be dragged around.static int
DRAG_ON
Controls whether or not a widget can have another dragged onto it.static int
ITEM
Is the widget an (inventory?) itemstatic int
ITEM_USE_OP
Add a USE optionstatic 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
Can this widget be used on a item in your inventorystatic 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()
-
-
-
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
public static final int USE_ITEM
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_ON
public static final int DRAG_ON
Controls whether or not a widget can have another dragged onto it.- See Also:
- Constant Field Values
-
DRAG
public static final int DRAG
Controls whether or not a widget can be dragged around.- 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
-
ITEM
public static final int ITEM
Is the widget an (inventory?) item- See Also:
- Constant Field Values
-
ITEM_USE_OP
public static final int ITEM_USE_OP
Add a USE option- See Also:
MenuAction.ITEM_USE
, Constant Field Values
-
-