Class NavigationItem
- java.lang.Object
- 
- com.mrivanplays.pagedinventory.api.NavigationItem
 
- 
 public final class NavigationItem extends Object Represents a navigation item
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classNavigationItem.ActionRepresents action
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavigationItemcreate(@NotNull org.bukkit.inventory.ItemStack item, @NotNull NavigationItem.Action action)Creates a newNavigationItem@NotNull NavigationItem.ActiongetAction()Returns theNavigationItem.Actionfor which the item will trigger.@NotNull org.bukkit.inventory.ItemStackgetItem()Returns the actualItemStackof the navigation item.
 
- 
- 
- 
Method Detail- 
createpublic static NavigationItem create(@NotNull @NotNull org.bukkit.inventory.ItemStack item, @NotNull @NotNull NavigationItem.Action action) Creates a newNavigationItem- Parameters:
- item- the actual item
- action- the action which the navigation item should listen for
- Returns:
- navigation item
 
 - 
getItem@NotNull public @NotNull org.bukkit.inventory.ItemStack getItem() Returns the actualItemStackof the navigation item.- Returns:
- item
 
 - 
getAction@NotNull public @NotNull NavigationItem.Action getAction() Returns theNavigationItem.Actionfor which the item will trigger.- Returns:
- action
 
 
- 
 
-