Package net.tnemc.menu.core.icon.action
Class IconAction
java.lang.Object
net.tnemc.menu.core.icon.action.IconAction
- Direct Known Subclasses:
ChatAction,DataAction,RunnableAction,SwitchMenuAction,SwitchPageAction
Represents an action that is performed on an icon within a menu.
This class provides a common structure for different types of icon actions.
- Since:
- 1.5.0.0
- Author:
- creatorfromhell
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if any other icon actions should be performed after this action is performed.getType()abstract booleanonClick(MenuClickHandler handler) Handles the click action for the icon using the providedMenuClickHandler.
-
Field Details
-
type
-
-
Constructor Details
-
Method Details
-
getType
-
continueOther
public boolean continueOther()Determines if any other icon actions should be performed after this action is performed.- Returns:
trueif other actions should be performed, otherwisefalse.
-