Enum MenuAction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MenuAction>

    public enum MenuAction
    extends java.lang.Enum<MenuAction>
    An enumeration of right-click menu actions.
    • Enum Constant Detail

      • ITEM_USE_ON_GAME_OBJECT

        public static final MenuAction ITEM_USE_ON_GAME_OBJECT
        Menu action for using an item in your inventory on a tile object (GameObject or GroundObject).
      • WIDGET_TARGET_ON_GAME_OBJECT

        public static final MenuAction WIDGET_TARGET_ON_GAME_OBJECT
        Menu action for using a widget on a tile object (GameObject or GroundObject).
      • GAME_OBJECT_FIRST_OPTION

        public static final MenuAction GAME_OBJECT_FIRST_OPTION
        First menu action for a game object.
      • GAME_OBJECT_SECOND_OPTION

        public static final MenuAction GAME_OBJECT_SECOND_OPTION
        Second menu action for a game object.
      • GAME_OBJECT_THIRD_OPTION

        public static final MenuAction GAME_OBJECT_THIRD_OPTION
        Third menu action for a game object.
      • GAME_OBJECT_FOURTH_OPTION

        public static final MenuAction GAME_OBJECT_FOURTH_OPTION
        Fourth menu action for a game object.
      • GAME_OBJECT_FIFTH_OPTION

        public static final MenuAction GAME_OBJECT_FIFTH_OPTION
        Fifth menu action for a game object.
      • ITEM_USE_ON_NPC

        public static final MenuAction ITEM_USE_ON_NPC
        Menu action for using an item in your inventory on an NPC.
      • WIDGET_TARGET_ON_NPC

        public static final MenuAction WIDGET_TARGET_ON_NPC
        Menu action for using a widget on an NPC.
      • NPC_FIRST_OPTION

        public static final MenuAction NPC_FIRST_OPTION
        First menu action for an NPC.
      • NPC_SECOND_OPTION

        public static final MenuAction NPC_SECOND_OPTION
        Second menu action for an NPC.
      • NPC_THIRD_OPTION

        public static final MenuAction NPC_THIRD_OPTION
        Third menu action for an NPC.
      • NPC_FOURTH_OPTION

        public static final MenuAction NPC_FOURTH_OPTION
        Fourth menu action for an NPC.
      • NPC_FIFTH_OPTION

        public static final MenuAction NPC_FIFTH_OPTION
        Fifth menu action for an NPC.
      • ITEM_USE_ON_PLAYER

        public static final MenuAction ITEM_USE_ON_PLAYER
        Menu action for using an item on a player.
      • WIDGET_TARGET_ON_PLAYER

        public static final MenuAction WIDGET_TARGET_ON_PLAYER
        Menu action for using a widget on a player.
      • ITEM_USE_ON_GROUND_ITEM

        public static final MenuAction ITEM_USE_ON_GROUND_ITEM
        Menu action for using an item on an item on the ground.
      • WIDGET_TARGET_ON_GROUND_ITEM

        public static final MenuAction WIDGET_TARGET_ON_GROUND_ITEM
        Menu action for using a widget on an item on the ground.
      • GROUND_ITEM_FIRST_OPTION

        public static final MenuAction GROUND_ITEM_FIRST_OPTION
        First menu action for an item on the ground.
      • GROUND_ITEM_SECOND_OPTION

        public static final MenuAction GROUND_ITEM_SECOND_OPTION
        Second menu action for an item on the ground.
      • GROUND_ITEM_THIRD_OPTION

        public static final MenuAction GROUND_ITEM_THIRD_OPTION
        Third menu action for an item on the ground.
      • GROUND_ITEM_FOURTH_OPTION

        public static final MenuAction GROUND_ITEM_FOURTH_OPTION
        Fourth menu action for an item on the ground.
      • GROUND_ITEM_FIFTH_OPTION

        public static final MenuAction GROUND_ITEM_FIFTH_OPTION
        Fifth menu action for an item on the ground.
      • WALK

        public static final MenuAction WALK
        Menu action for walking.
      • WIDGET_TYPE_1

        public static final MenuAction WIDGET_TYPE_1
        Interaction with widget (type 1).
      • WIDGET_CLOSE

        public static final MenuAction WIDGET_CLOSE
        Performs an ifclose.
      • WIDGET_TYPE_4

        public static final MenuAction WIDGET_TYPE_4
        Interaction with widget (type 4).
      • WIDGET_TYPE_5

        public static final MenuAction WIDGET_TYPE_5
        Interaction with widget (type 5).
      • WIDGET_CONTINUE

        public static final MenuAction WIDGET_CONTINUE
        Performs a Continue
      • ITEM_USE_ON_ITEM

        public static final MenuAction ITEM_USE_ON_ITEM
        Menu action when using an item on another item
      • WIDGET_USE_ON_ITEM

        public static final MenuAction WIDGET_USE_ON_ITEM
        Menu action when using a component on an item
      • ITEM_FIRST_OPTION

        public static final MenuAction ITEM_FIRST_OPTION
        First menu action for an item.
      • ITEM_SECOND_OPTION

        public static final MenuAction ITEM_SECOND_OPTION
        Second menu action for an item.
      • ITEM_THIRD_OPTION

        public static final MenuAction ITEM_THIRD_OPTION
        Third menu action for an item.
      • ITEM_FOURTH_OPTION

        public static final MenuAction ITEM_FOURTH_OPTION
        Fourth menu action for an item.
      • ITEM_FIFTH_OPTION

        public static final MenuAction ITEM_FIFTH_OPTION
        Fifth menu action for an item.
      • ITEM_USE

        public static final MenuAction ITEM_USE
        Menu action to use an item.
      • WIDGET_FIRST_OPTION

        public static final MenuAction WIDGET_FIRST_OPTION
        First menu action for a widget.
      • WIDGET_SECOND_OPTION

        public static final MenuAction WIDGET_SECOND_OPTION
        Second menu action for a widget.
      • WIDGET_THIRD_OPTION

        public static final MenuAction WIDGET_THIRD_OPTION
        Third menu action for a widget.
      • WIDGET_FOURTH_OPTION

        public static final MenuAction WIDGET_FOURTH_OPTION
        Fourth menu action for a widget.
      • WIDGET_FIFTH_OPTION

        public static final MenuAction WIDGET_FIFTH_OPTION
        Fifth menu action for a widget.
      • PLAYER_FIRST_OPTION

        public static final MenuAction PLAYER_FIRST_OPTION
      • PLAYER_SECOND_OPTION

        public static final MenuAction PLAYER_SECOND_OPTION
      • PLAYER_THIRD_OPTION

        public static final MenuAction PLAYER_THIRD_OPTION
      • PLAYER_FOURTH_OPTION

        public static final MenuAction PLAYER_FOURTH_OPTION
      • PLAYER_FIFTH_OPTION

        public static final MenuAction PLAYER_FIFTH_OPTION
      • PLAYER_SIXTH_OPTION

        public static final MenuAction PLAYER_SIXTH_OPTION
      • PLAYER_SEVENTH_OPTION

        public static final MenuAction PLAYER_SEVENTH_OPTION
      • PLAYER_EIGTH_OPTION

        public static final MenuAction PLAYER_EIGTH_OPTION
      • CC_OP

        public static final MenuAction CC_OP
        Menu action for normal priority child component actions.
      • WIDGET_TARGET_ON_WIDGET

        public static final MenuAction WIDGET_TARGET_ON_WIDGET
        Using a widget on another widget
      • RUNELITE_HIGH_PRIORITY

        public static final MenuAction RUNELITE_HIGH_PRIORITY
        Menu action for high priority runelite options
      • EXAMINE_OBJECT

        public static final MenuAction EXAMINE_OBJECT
        Menu action triggered by examining an object.
      • EXAMINE_NPC

        public static final MenuAction EXAMINE_NPC
        Menu action triggered by examining an NPC.
      • EXAMINE_ITEM_GROUND

        public static final MenuAction EXAMINE_ITEM_GROUND
        Menu action triggered by examining item on ground.
      • EXAMINE_ITEM

        public static final MenuAction EXAMINE_ITEM
        Menu action triggered by examining item in inventory.
      • CANCEL

        public static final MenuAction CANCEL
        Menu action triggered by canceling a menu.
      • CC_OP_LOW_PRIORITY

        public static final MenuAction CC_OP_LOW_PRIORITY
        Menu action for low priority child component actions.
      • RUNELITE

        public static final MenuAction RUNELITE
        Menu action injected by runelite for its menu items.
      • RUNELITE_OVERLAY

        public static final MenuAction RUNELITE_OVERLAY
        Menu action injected by runelite for overlay menu items.
      • RUNELITE_OVERLAY_CONFIG

        public static final MenuAction RUNELITE_OVERLAY_CONFIG
        Menu action for configuring runelite overlays.
      • RUNELITE_PLAYER

        public static final MenuAction RUNELITE_PLAYER
        Menu action injected by runelite for menu items which target a player and have its identifier set to a player index.
      • RUNELITE_INFOBOX

        public static final MenuAction RUNELITE_INFOBOX
        Menu action for InfoBox menu entries
      • UNKNOWN

        public static final MenuAction UNKNOWN
        Menu action triggered when the id is not defined in this class.
    • Field Detail

      • MENU_ACTION_DEPRIORITIZE_OFFSET

        public static final int MENU_ACTION_DEPRIORITIZE_OFFSET
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static MenuAction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MenuAction c : MenuAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MenuAction valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getId

        public int getId()