Package net.tnemc.menu.core
Class Menu
java.lang.Object
net.tnemc.menu.core.Menu
Menu
- Since:
- 1.5.0.0
- Author:
- creatorfromhell
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getClose()
getName()
getOpen()
getPages()
int
getRows()
getTitle()
boolean
onClick
(MenuClickHandler handler) Handles a click action for a specific viewer identified by its UUID.void
onClose
(MenuPlayer player) void
onOpen
(MenuPlayer player, int page) void
setClose
(Consumer<MenuCloseCallback> close) void
void
setOpen
(Consumer<MenuOpenCallback> open) void
setRows
(int rows) void
-
Field Details
-
pages
-
name
-
title
-
rows
protected int rows -
open
-
close
-
-
Constructor Details
-
Menu
public Menu()
-
-
Method Details
-
getPages
-
getOpen
-
setOpen
-
getClose
-
setClose
-
getName
-
setName
-
getTitle
-
setTitle
-
getRows
public int getRows() -
setRows
public void setRows(int rows)