Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/-inventory-g-u-i-builder/index.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

3.5 KiB

title
title
InventoryGUIBuilder -

//KSpigot/net.axay.kspigot.inventory/InventoryGUIBuilder

InventoryGUIBuilder

[jvm] class InventoryGUIBuilder<T : ForInventory>(type: InventoryType<T>)

Functions

Name Summary
equals [jvm]
Content
open operator override fun equals(other: Any?): Boolean


hashCode [jvm]
Content
open override fun hashCode(): Int


onClickElement [jvm]
Content
fun onClickElement(onClick: (InventoryGUIClickEvent<T>) -> Unit)


page [jvm]
Brief description


Opens the builder for a new page and adds the new page to the GUI.


Content
fun page(page: Int, builder: InventoryGUIPageBuilder<T>.() -> Unit)


toString [jvm]
Content
open override fun toString(): String


Properties

Name Summary
title [jvm] var title: String
transitionFrom [jvm] var transitionFrom: InventoryChangeEffect?
transitionTo [jvm] var transitionTo: InventoryChangeEffect?
type [jvm] val type: InventoryType<T>