Class SwitchMenuAction

java.lang.Object
net.tnemc.menu.core.icon.action.IconAction
net.tnemc.menu.core.icon.action.impl.SwitchMenuAction

public class SwitchMenuAction extends IconAction
SwitchMenuAction
Since:
1.5.0.0
Author:
creatorfromhell
  • Field Details

  • Constructor Details

    • SwitchMenuAction

      public SwitchMenuAction(String menu)
    • SwitchMenuAction

      public SwitchMenuAction(String menu, ActionType type)
  • Method Details

    • onClick

      public boolean onClick(MenuClickHandler handler)
      Handles the click action for the icon using the provided MenuClickHandler.
      Specified by:
      onClick in class IconAction
      Parameters:
      handler - The MenuClickHandler to be executed upon the click action.
      Returns:
      true if the click action is blocked or has special behavior, otherwise false.