Package me.hsgamer.bettergui.action.type
Class CloseMenuAction
- java.lang.Object
-
- me.hsgamer.bettergui.action.type.CloseMenuAction
-
- All Implemented Interfaces:
BiConsumer<UUID,TaskProcess>,Action,MenuElement,ProcessApplier
public class CloseMenuAction extends Object implements Action
-
-
Constructor Summary
Constructors Constructor Description CloseMenuAction(Menu menu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(UUID uuid, TaskProcess process)MenugetMenu()Get the menu containing the element-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Constructor Detail
-
CloseMenuAction
public CloseMenuAction(Menu menu)
-
-
Method Detail
-
accept
public void accept(UUID uuid, TaskProcess process)
- Specified by:
acceptin interfaceBiConsumer<UUID,TaskProcess>
-
getMenu
public Menu getMenu()
Description copied from interface:MenuElementGet the menu containing the element- Specified by:
getMenuin interfaceMenuElement- Returns:
- the menu
-
-