Index
All Classes and Interfaces|All Packages
A
- addBlockedAdjacentAction(InventoryAction) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds a blocked adjacent action to the list of blocked adjacent actions.
- addBlockedMenuAction(InventoryAction) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds the given InventoryAction to the list of blocked menu actions.
- addButton(SGButton) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds the provided
SGButton. - addButtons(SGButton...) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds the specified
SGButtons consecutively. - addPermittedClickType(ClickType) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds a permitted click type to the menu.
- amount(int) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Sets the amount of items in the
ItemStack. - areDefaultInteractionsBlocked() - Method in class com.samjakob.spigui.menu.SGMenu
-
This is a per-inventory version of
areDefaultInteractionsBlocked(). - areDefaultInteractionsBlocked() - Method in class com.samjakob.spigui.SpiGUI
-
Returns the value of
blockDefaultInteractionsfor this plugin.
B
- BLACK - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 15.
- blockDefaultInteractions - Variable in class com.samjakob.spigui.menu.SGMenu
-
Whether the "default" behaviors and interactions should be permitted or blocked.
- blockDefaultInteractions - Variable in class com.samjakob.spigui.SpiGUI
-
Whether to cancel inventory click actions by default.
- blockedAdjacentActions - Variable in class com.samjakob.spigui.menu.SGMenu
-
Any actions in this list will be blocked if they occur in the adjacent inventory to an SGMenu.
- blockedMenuActions - Variable in class com.samjakob.spigui.menu.SGMenu
-
Any actions in this list will be blocked immediately without further processing if they occur in a SpiGUI menu.
- BLUE - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 11.
- BROWN - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 12.
- build() - Method in class com.samjakob.spigui.item.ItemBuilder
-
An alias for
ItemBuilder.get(). - buildToolbarButton(int, int, SGToolbarButtonType, SGMenu) - Method in class com.samjakob.spigui.toolbar.SGDefaultToolbarBuilder
- buildToolbarButton(int, int, SGToolbarButtonType, SGMenu) - Method in interface com.samjakob.spigui.toolbar.SGToolbarBuilder
-
Specifies the toolbar button builder for an
SGMenu.
C
- clearAllButStickiedSlots() - Method in class com.samjakob.spigui.menu.SGMenu
-
This clears all slots in the inventory, except those which have been marked as 'sticky'.
- clearStickiedSlots() - Method in class com.samjakob.spigui.menu.SGMenu
-
This clears all the 'stuck' slots - essentially un-marking all stuck slots.
- color(ItemDataColor) - Method in class com.samjakob.spigui.item.ItemBuilder
-
An alias for
ItemBuilder.durability(short)that takes anItemDataColoras an argument instead. - com.samjakob.spigui - package com.samjakob.spigui
-
A comprehensive GUI API for Spigot with pages support.
https://github.com/SamJakob/SpiGUI - com.samjakob.spigui.buttons - package com.samjakob.spigui.buttons
- com.samjakob.spigui.item - package com.samjakob.spigui.item
-
The
ItemBuilderAPI (and friends).
This holds the ItemBuilder API class and other classes (or enums) used to implement it. - com.samjakob.spigui.menu - package com.samjakob.spigui.menu
-
Menu definitions, including the listener (which handles user events).
See:SGMenu. - com.samjakob.spigui.toolbar - package com.samjakob.spigui.toolbar
-
The Toolbar API.
Used to override the pagination buttons, or to add fixed toolbar items. - create(String, int) - Method in class com.samjakob.spigui.SpiGUI
-
An alias for
create(String, int, String)with the tag set to null. - create(String, int, String) - Method in class com.samjakob.spigui.SpiGUI
-
Creates an inventory with a given name, tag and number of rows.
- CURRENT_BUTTON - Enum constant in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
The "current page" indicator button (doesn't necessarily have an action associated).
- currentPage - Variable in class com.samjakob.spigui.menu.SGMenu
-
The currently selected page of the inventory.
- CYAN - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 9.
D
- data(short) - Method in class com.samjakob.spigui.item.ItemBuilder
-
An alias for
ItemBuilder.durability(short). - DEFAULT_BLOCKED_ADJACENT_ACTIONS - Static variable in class com.samjakob.spigui.menu.SGMenu
-
The default set of actions that are blocked if they occur in the adjacent inventory to an SGMenu.
- DEFAULT_BLOCKED_MENU_ACTIONS - Static variable in class com.samjakob.spigui.menu.SGMenu
-
The default set of actions that are blocked if they occur in an SGMenu.
- DEFAULT_MAPPINGS - Static variable in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
The default mappings between slot number and
SGToolbarButtonType. - DEFAULT_PERMITTED_MENU_CLICK_TYPES - Static variable in class com.samjakob.spigui.menu.SGMenu
-
The default set of actions that are permitted if they occur in an SGMenu.
- defaultToolbarBuilder - Variable in class com.samjakob.spigui.SpiGUI
-
The defaultToolbarBuilder is the plugin-wide
SGToolbarBuildercalled when building pagination buttons for inventory GUIs. - deflag(ItemFlag...) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Accepts a variable number of
ItemFlags to remove from the stack. - durability(short) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Sets the durability (data value) of the item.
E
- enableAutomaticPagination - Variable in class com.samjakob.spigui.menu.SGMenu
-
Whether the pagination functionality should be enabled.
- enableAutomaticPagination - Variable in class com.samjakob.spigui.SpiGUI
-
Whether automatic pagination should be enabled.
- enchant(Enchantment, int) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Adds the specified enchantment to the stack.
F
- findOpenWithTag(String) - Method in class com.samjakob.spigui.SpiGUI
-
Finds a list of all open inventories with a given tag along with the player who has that inventory open.
- flag(ItemFlag...) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Accepts a variable number of
ItemFlags to apply to the stack.
G
- get() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Returns the
ItemStackthat theItemBuilderinstance represents. - getAmount() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Returns the amount of items in the
ItemStack. - getBlockedAdjacentActions() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the blocked adjacent actions for this object.
- getBlockedMenuActions() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns an array of blocked menu actions for the current Inventory.
- getButton(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the
SGButtonin the specified slot. - getButton(int, int) - Method in class com.samjakob.spigui.menu.SGMenu
-
This is an alias for
SGMenu.getButton(int)that allows you to get a button contained by a slot on a given page. - getByValue(short) - Static method in enum class com.samjakob.spigui.item.ItemDataColor
-
Returns an
ItemDataColoras found by its damage value or null if there isn't one. - getColor() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Essentially a proxy for
ItemDataColor.getByValue(short). - getCurrentPage() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the current page of the inventory.
- getDefaultForSlot(int) - Static method in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
Returns the default mapping between a given toolbar slot number (from 0 to 8), and
SGToolbarButtonType. - getDefaultToolbarBuilder() - Method in class com.samjakob.spigui.SpiGUI
-
The default toolbar builder used for GUIs.
- getDurability() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Returns the durability or data value of the item.
- getHighestFilledSlot() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the slot number of the highest filled slot.
- getIcon() - Method in class com.samjakob.spigui.buttons.SGButton
-
Returns the
ItemStackthat will be used as the SGButton's icon in the SGMenu (GUI). - getInventory() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the Bukkit/Spigot
Inventorythat represents the GUI. - getListener() - Method in class com.samjakob.spigui.buttons.SGButton
-
Returns the
SGButtonListenerthat is to be executed when the button is clicked.
This is typically intended for use by the API. - getLore() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Gets the lore of the item as a list of strings.
- getMaxPage() - Method in class com.samjakob.spigui.menu.SGMenu
-
Gets the page number of the final page of the GUI.
- getMenu() - Method in class com.samjakob.spigui.menu.SGOpenMenu
-
Get the open
SGMenuinstance. - getName() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Returns either the display name of the item, if it exists, or null if it doesn't.
- getName() - Method in class com.samjakob.spigui.menu.SGMenu
-
This returns the inventory's display name.
- getOnClose() - Method in class com.samjakob.spigui.menu.SGMenu
-
The action to be performed on close.
- getOnPageChange() - Method in class com.samjakob.spigui.menu.SGMenu
-
The action to be performed on page change.
- getOwner() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the plugin that the inventory is associated with.
- getPageSize() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the number of slots per page of the inventory.
- getPermittedMenuClickTypes() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the permitted menu click types.
- getPlayer() - Method in class com.samjakob.spigui.menu.SGOpenMenu
-
Get the player viewing the
SGMenu. - getRowsPerPage() - Method in class com.samjakob.spigui.menu.SGMenu
-
Returns the number of rows (of 9 columns) per page of the inventory.
- getTag() - Method in class com.samjakob.spigui.menu.SGMenu
-
This returns the GUI's tag.
- getToolbarBuilder() - Method in class com.samjakob.spigui.menu.SGMenu
-
This is a per-inventory version of (
getDefaultToolbarBuilder()). - getType() - Method in class com.samjakob.spigui.item.ItemBuilder
-
Returns the type (
Material) of the ItemStack. - getValue() - Method in enum class com.samjakob.spigui.item.ItemDataColor
-
Returns the durability value that the named color represents.
- GRAY - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 7.
- GREEN - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 13.
- gui - Variable in class com.samjakob.spigui.menu.SGOpenMenu
-
The
SGMenuthat is currently open.
I
- icon - Variable in class com.samjakob.spigui.buttons.SGButton
-
The Bukkit
ItemStackthat will be used as the button's icon. - ifThen(Predicate<ItemBuilder>, Function<ItemBuilder, Object>) - Method in class com.samjakob.spigui.item.ItemBuilder
-
This is used to, inline, perform an operation if a given condition is true.
- isAutomaticPaginationEnabled() - Method in class com.samjakob.spigui.menu.SGMenu
-
This is a per-inventory version of
isAutomaticPaginationEnabled(). - isAutomaticPaginationEnabled() - Method in class com.samjakob.spigui.SpiGUI
-
Returns the value of
enableAutomaticPaginationfor this plugin. - isStickiedSlot(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
This checks whether a given slot is sticky.
- ItemBuilder - Class in com.samjakob.spigui.item
-
A helper class for creating or modifying ItemStacks.
- ItemBuilder(ItemStack) - Constructor for class com.samjakob.spigui.item.ItemBuilder
-
Creates an ItemBuilder wrapper for a given stack.
- ItemBuilder(Material) - Constructor for class com.samjakob.spigui.item.ItemBuilder
-
Creates an
ItemStackandItemBuilderwrapper for a new stack with the given type. - ItemDataColor - Enum Class in com.samjakob.spigui.item
-
Items such as glass panes can have variable color.
- ItemDataColor(short) - Constructor for enum class com.samjakob.spigui.item.ItemDataColor
-
Define an
ItemDataColorbased on a given short value. - items - Variable in class com.samjakob.spigui.menu.SGMenu
-
The map of items in the inventory.
L
- LIGHT_BLUE - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 3.
- LIGHT_GRAY - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 8.
- LIME - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 5.
- listener - Variable in class com.samjakob.spigui.buttons.SGButton
-
The on-click handler for this button.
- lore(String...) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Sets the lore of the item.
- lore(List<String>) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Sets the lore of the item.
M
- MAGENTA - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 2.
N
- name - Variable in class com.samjakob.spigui.menu.SGMenu
-
The title of the inventory.
- name(String) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Sets the display name of the item.
- NEXT_BUTTON - Enum constant in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
The "next page" pagination button.
- nextPage(HumanEntity) - Method in class com.samjakob.spigui.menu.SGMenu
-
Increments the current page.
O
- onAdjacentInventoryClick(InventoryClickEvent) - Method in class com.samjakob.spigui.menu.SGMenuListener
-
Blocks events that occur in adjacent inventories to an SGMenu when those events would affect the SGMenu.
- onClick(InventoryClickEvent) - Method in interface com.samjakob.spigui.buttons.SGButtonListener
-
The event handler that should be executed when an SGButton is clicked.
- onClose - Variable in class com.samjakob.spigui.menu.SGMenu
-
The action to be performed on close.
- onInventoryClick(InventoryClickEvent) - Method in class com.samjakob.spigui.menu.SGMenuListener
-
Overrides the click event for an SGMenu.
- onInventoryClose(InventoryCloseEvent) - Method in class com.samjakob.spigui.menu.SGMenuListener
-
Overrides the close event for an SGMenu.
- onInventoryDrag(InventoryDragEvent) - Method in class com.samjakob.spigui.menu.SGMenuListener
-
Overrides the drag event for an SGMenu.
- onPageChange - Variable in class com.samjakob.spigui.menu.SGMenu
-
The action to be performed on page change.
- ORANGE - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 1.
- owner - Variable in class com.samjakob.spigui.menu.SGMenu
-
The plugin (owner of the SpiGUI instance) that created this inventory.
- owner - Variable in class com.samjakob.spigui.menu.SGMenuListener
-
The plugin that this listener is registered for.
P
- permittedMenuClickTypes - Variable in class com.samjakob.spigui.menu.SGMenu
-
Any click types not in this array will be immediately prevented in this menu without further processing (i.e., the button's listener will not be called).
- PINK - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 6.
- player - Variable in class com.samjakob.spigui.menu.SGOpenMenu
-
The player viewing the menu.
- plugin - Variable in class com.samjakob.spigui.SpiGUI
-
The plugin that owns this instance of SpiGUI.
- PREV_BUTTON - Enum constant in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
The "previous page" pagination button.
- previousPage(HumanEntity) - Method in class com.samjakob.spigui.menu.SGMenu
-
Decrements the current page.
- PURPLE - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 10.
R
- RED - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 14.
- refreshInventory(HumanEntity) - Method in class com.samjakob.spigui.menu.SGMenu
-
Refresh an inventory that is currently open for a given viewer.
- removeBlockedAdjacentAction(InventoryAction) - Method in class com.samjakob.spigui.menu.SGMenu
-
Removes the given action from the list of blocked adjacent actions.
- removeBlockedMenuAction(InventoryAction) - Method in class com.samjakob.spigui.menu.SGMenu
-
Removes the specified InventoryAction from the list of blocked menu actions.
- removeButton(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
Removes a button from the specified slot.
- removeButton(int, int) - Method in class com.samjakob.spigui.menu.SGMenu
-
An alias for
SGMenu.removeButton(int)to remove a button from the specified slot on the specified page. - removePermittedClickType(ClickType) - Method in class com.samjakob.spigui.menu.SGMenu
-
Removes a permitted click type from the list of permitted menu click types.
- rowsPerPage - Variable in class com.samjakob.spigui.menu.SGMenu
-
The number of rows to display per page.
S
- setAutomaticPaginationEnabled(boolean) - Method in class com.samjakob.spigui.menu.SGMenu
-
This is a per-inventory version of
setEnableAutomaticPagination(boolean). - setBlockDefaultInteractions(boolean) - Method in class com.samjakob.spigui.menu.SGMenu
-
This is a per-inventory version of
setBlockDefaultInteractions(boolean). - setBlockDefaultInteractions(boolean) - Method in class com.samjakob.spigui.SpiGUI
-
Whether default inventory interactions should be cancelled.
- setBlockedAdjacentActions(InventoryAction...) - Method in class com.samjakob.spigui.menu.SGMenu
-
Sets the blocked adjacent actions for this object.
- setBlockedMenuActions(InventoryAction...) - Method in class com.samjakob.spigui.menu.SGMenu
-
Sets the blocked menu actions for the inventory.
- setButton(int, int, SGButton) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds the provided
SGButtonat the position denoted by the supplied slot parameter on the page denoted by the supplied page parameter. - setButton(int, SGButton) - Method in class com.samjakob.spigui.menu.SGMenu
-
Adds the provided
SGButtonat the position denoted by the supplied slot parameter. - setCurrentPage(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
Sets the page of the inventory that will be displayed when the inventory is opened and displayed to a player (i.e.
- setDefaultToolbarBuilder(SGToolbarBuilder) - Method in class com.samjakob.spigui.SpiGUI
-
The default toolbar builder used for GUIs.
- setEnableAutomaticPagination(boolean) - Method in class com.samjakob.spigui.SpiGUI
-
Whether automatic pagination should be enabled.
- setIcon(ItemStack) - Method in class com.samjakob.spigui.buttons.SGButton
-
Changes the SGButton's icon.
- setListener(SGButtonListener) - Method in class com.samjakob.spigui.buttons.SGButton
-
Sets the
SGButtonListenerto be called when the button is clicked. - setName(String) - Method in class com.samjakob.spigui.menu.SGMenu
-
This sets the inventory's display name.
- setOnClose(Consumer<SGMenu>) - Method in class com.samjakob.spigui.menu.SGMenu
-
Used to set an action to be performed on inventory close without registering an
InventoryCloseEventspecifically for this inventory. - setOnPageChange(Consumer<SGMenu>) - Method in class com.samjakob.spigui.menu.SGMenu
-
Used to set an action to be performed on inventory page change.
- setPermittedMenuClickTypes(ClickType...) - Method in class com.samjakob.spigui.menu.SGMenu
-
Sets the permitted menu click types.
- setRawName(String) - Method in class com.samjakob.spigui.menu.SGMenu
-
This sets the inventory's display name without first translating color codes.
- setRowsPerPage(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
Sets the number of rows per page of the inventory.
- setTag(String) - Method in class com.samjakob.spigui.menu.SGMenu
-
This sets the GUI's tag.
- setToolbarBuilder(SGToolbarBuilder) - Method in class com.samjakob.spigui.menu.SGMenu
-
This is a per-inventory version of (
setDefaultToolbarBuilder(SGToolbarBuilder)). - SGButton - Class in com.samjakob.spigui.buttons
-
An SGButton represents a clickable item in an SGMenu (GUI).
- SGButton(ItemStack) - Constructor for class com.samjakob.spigui.buttons.SGButton
-
Creates an SGButton with the specified
ItemStackas it's 'icon' in the inventory. - SGButtonListener - Interface in com.samjakob.spigui.buttons
-
Holds the event handler for an SGButton.
- SGDefaultToolbarBuilder - Class in com.samjakob.spigui.toolbar
-
The default implementation of
SGToolbarBuilder. - SGDefaultToolbarBuilder() - Constructor for class com.samjakob.spigui.toolbar.SGDefaultToolbarBuilder
-
Construct the default implementation of
SGToolbarBuilder. - SGMenu - Class in com.samjakob.spigui.menu
-
SGMenu is used to implement the library's GUIs.
- SGMenu(JavaPlugin, SpiGUI, String, int, String, ClickType...) - Constructor for class com.samjakob.spigui.menu.SGMenu
-
Intended for internal use only.
- SGMenuListener - Class in com.samjakob.spigui.menu
-
The
SGMenuListenerhandles SpiGUI events on behalf of a plugin that uses SpiGUI. - SGMenuListener(JavaPlugin, SpiGUI) - Constructor for class com.samjakob.spigui.menu.SGMenuListener
-
Initialize an SGMenuListener for the specified plugin.
- SGOpenMenu - Class in com.samjakob.spigui.menu
-
Used to refer to a player's "viewing session" of a given menu.
- SGOpenMenu(SGMenu, Player) - Constructor for class com.samjakob.spigui.menu.SGOpenMenu
-
Pairs an
SGMenuinstance with a player viewing that menu. - SGToolbarBuilder - Interface in com.samjakob.spigui.toolbar
-
An interface for a toolbar button builder.
- SGToolbarButtonType - Enum Class in com.samjakob.spigui.toolbar
-
Represents pre-defined types for toolbar buttons.
- SGToolbarButtonType() - Constructor for enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
- shouldIgnoreInventoryEvent(Inventory) - Static method in class com.samjakob.spigui.menu.SGMenuListener
-
Returns false if the specified inventory exists and is an SGMenu, as that implies the inventory event should be handled by this
SGMenuListenerclass. - skullOwner(String) - Method in class com.samjakob.spigui.item.ItemBuilder
-
If the item has
SkullMeta(i.e. - slotsIncludeTopInventory(InventoryView, Set<Integer>) - Method in class com.samjakob.spigui.menu.SGMenuListener
-
Checks whether the specified set of slots includes any slots in the top inventory of the specified
InventoryView. - spiGUI - Variable in class com.samjakob.spigui.menu.SGMenu
-
The SpiGUI instance that created this inventory.
- spiGUI - Variable in class com.samjakob.spigui.menu.SGMenuListener
-
The instance of
SpiGUIthis listener is operating for. - SpiGUI - Class in com.samjakob.spigui
-
The core class for the SpiGUI library.
One instance of the SpiGUI class is registered for each plugin using it. - SpiGUI(JavaPlugin) - Constructor for class com.samjakob.spigui.SpiGUI
-
Creates an instance of the SpiGUI library associated with a given plugin.
- stack - Variable in class com.samjakob.spigui.item.ItemBuilder
-
The item stack being built.
- stickiedSlots - Variable in class com.samjakob.spigui.menu.SGMenu
-
The set of sticky slots (that should remain when the page is changed).
- stickSlot(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
Marks a slot as 'sticky', so that when the page is changed, the slot will always display the value on the first page.
T
- tag - Variable in class com.samjakob.spigui.menu.SGMenu
-
A tag that may be used to identify the type of inventory.
- toolbarBuilder - Variable in class com.samjakob.spigui.menu.SGMenu
-
The toolbar builder used to render this GUI's toolbar.
- type(Material) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Sets the type (
Material) of the ItemStack.
U
- UNASSIGNED - Enum constant in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
No pre-defined action or button.
- unenchant(Enchantment) - Method in class com.samjakob.spigui.item.ItemBuilder
-
Removes the specified enchantment from the stack.
- unstickSlot(int) - Method in class com.samjakob.spigui.menu.SGMenu
-
Un-marks a slot as sticky - thereby meaning that slot will display whatever its value on the current page is.
V
- value - Variable in enum class com.samjakob.spigui.item.ItemDataColor
-
The durability value of the color.
- valueOf(String) - Static method in enum class com.samjakob.spigui.item.ItemDataColor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.samjakob.spigui.item.ItemDataColor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.samjakob.spigui.toolbar.SGToolbarButtonType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WHITE - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 0.
- willHandleInventoryEvent(JavaPlugin, Inventory) - Static method in class com.samjakob.spigui.menu.SGMenuListener
-
Allows a plugin to determine whether an inventory event will be handled by SpiGUI.
- withListener(SGButtonListener) - Method in class com.samjakob.spigui.buttons.SGButton
-
A chainable alias of
SGButton.setListener(SGButtonListener).
Y
- YELLOW - Enum constant in enum class com.samjakob.spigui.item.ItemDataColor
-
Value is 4.
All Classes and Interfaces|All Packages