Class SwitchPageAction

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

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

    • page

      private final int page
  • Constructor Details

    • SwitchPageAction

      public SwitchPageAction(String menu, int page)
    • SwitchPageAction

      public SwitchPageAction(String menu, int page, 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.