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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if any other icon actions should be performed after this action is performed.getType()
abstract boolean
onClick
(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:
true
if other actions should be performed, otherwisefalse
.
-