Package net.axay.kspigot.gui

Types

ForColumnEight
Link copied to clipboard
interface ForColumnEight : ForInventoryWidthNine
ForColumnFive
Link copied to clipboard
interface ForColumnFive : ForInventoryWidthFive, ForInventoryWidthNine
ForColumnFour
Link copied to clipboard
interface ForColumnFour : ForInventoryWidthFive, ForInventoryWidthNine
ForColumnNine
Link copied to clipboard
interface ForColumnNine : ForInventoryWidthNine
ForColumnOne
Link copied to clipboard
ForColumnSeven
Link copied to clipboard
interface ForColumnSeven : ForInventoryWidthNine
ForColumnSix
Link copied to clipboard
interface ForColumnSix : ForInventoryWidthNine
ForColumnThree
Link copied to clipboard
ForColumnTwo
Link copied to clipboard
ForCompleteRowOne
Link copied to clipboard
ForCompleteRowThree
Link copied to clipboard
interface ForCompleteRowThree : ForRowThree, ForRowThreeSlotOneToThree
ForCompleteRowTwo
Link copied to clipboard
interface ForCompleteRowTwo : ForRowTwo, ForRowTwoSlotOneToThree
ForInventory
Link copied to clipboard
interface ForInventory
ForInventoryFiveByNine
Link copied to clipboard
interface ForInventoryFiveByNine : ForInventorySixByNine
ForInventoryFourByNine
Link copied to clipboard
interface ForInventoryFourByNine : ForInventoryFiveByNine
ForInventoryOneByFive
Link copied to clipboard
interface ForInventoryOneByFive : ForInventoryOneByNine
ForInventoryOneByNine
Link copied to clipboard
interface ForInventoryOneByNine : ForInventoryTwoByNine
ForInventorySixByNine
Link copied to clipboard
interface ForInventorySixByNine : ForInventory
ForInventoryThreeByNine
Link copied to clipboard
interface ForInventoryThreeByNine : ForInventoryFourByNine
ForInventoryThreeByThree
Link copied to clipboard
interface ForInventoryThreeByThree : ForInventoryThreeByNine
ForInventoryTwoByNine
Link copied to clipboard
interface ForInventoryTwoByNine : ForInventoryThreeByNine
ForInventoryWidthFive
Link copied to clipboard
interface ForInventoryWidthFive : ForInventoryOneByFive
ForInventoryWidthThree
Link copied to clipboard
interface ForInventoryWidthThree : ForInventoryThreeByThree
ForRowFive
Link copied to clipboard
interface ForRowFive : ForInventoryFiveByNine, ForInventorySixByNine
ForRowFour
Link copied to clipboard
ForRowOneSlotFourToFive
Link copied to clipboard
interface ForRowOneSlotFourToFive : ForRowOne, ForInventoryOneByFive
ForRowOneSlotOneToThree
Link copied to clipboard
ForRowSix
Link copied to clipboard
interface ForRowSix : ForInventorySixByNine
ForRowThree
Link copied to clipboard
ForRowThreeSlotOneToThree
Link copied to clipboard
interface ForRowThreeSlotOneToThree : ForRowThree, ForInventoryThreeByThree
ForRowTwoSlotOneToThree
Link copied to clipboard
interface ForRowTwoSlotOneToThree : ForRowTwo, ForInventoryThreeByThree
GUI
Link copied to clipboard
abstract class GUI<T : ForInventory>(data: GUIData<T>)
GUIBuilder
Link copied to clipboard
class GUIBuilder<T : ForInventory>(type: GUIType<T>, guiCreator: GUICreator<T>)
GUIClickEvent
Link copied to clipboard
class GUIClickEvent<T : ForInventory>(bukkitEvent: InventoryClickEvent, guiInstance: GUIInstance<T>, player: Player)
GUICreator
Link copied to clipboard
abstract class GUICreator<T : ForInventory>
GUIData
Link copied to clipboard
class GUIData<T : ForInventory>(guiType: GUIType<T>, title: String?, pages: Map<Int, GUIPage<T>>, defaultPage: Int, transitionTo: InventoryChangeEffect?, transitionFrom: InventoryChangeEffect?, generalOnClick: (GUIClickEvent<T>) -> Unit?)
GUIElement
Link copied to clipboard
abstract class GUIElement<T : ForInventory> : GUISlot<T>
GUIHolder
Link copied to clipboard
object GUIHolder : AutoCloseable
GUIIndividual
Link copied to clipboard
class GUIIndividual<T : ForInventory>(guiData: GUIData<T>, resetOnClose: Boolean, resetOnQuit: Boolean) : GUI<T>
GUIInstance
Link copied to clipboard
class GUIInstance<T : ForInventory>(gui: GUI<T>, holder: Player?)
GUIPage
Link copied to clipboard
class GUIPage<T : ForInventory>(number: Int, slots: Map<Int, GUISlot<T>>, transitionTo: PageChangeEffect?, transitionFrom: PageChangeEffect?)
GUIPageBuilder
Link copied to clipboard
class GUIPageBuilder<T : ForInventory>(type: GUIType<T>, page: Int)
GUIPageChangeCalculator
Link copied to clipboard
abstract class GUIPageChangeCalculator
GUIShared
Link copied to clipboard
class GUIShared<T : ForInventory>(guiData: GUIData<T>) : GUI<T>
GUISlot
Link copied to clipboard
abstract class GUISlot<T : ForInventory>
GUIType
Link copied to clipboard
class GUIType<in T : ForInventory>(dimensions: InventoryDimensions, bukkitType: InventoryType?)
IndividualGUICreator
Link copied to clipboard
class IndividualGUICreator<T : ForInventory>(resetOnClose: Boolean, resetOnQuit: Boolean) : GUICreator<T>
InventoryAllSlots
Link copied to clipboard
class InventoryAllSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryBorderSlots
Link copied to clipboard
class InventoryBorderSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryChangeEffect
Link copied to clipboard
enum InventoryChangeEffect : Enum<InventoryChangeEffect>
InventoryColumnSlots
Link copied to clipboard
class InventoryColumnSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryCornerSlots
Link copied to clipboard
class InventoryCornerSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryDimensions
Link copied to clipboard
data class InventoryDimensions(width: Int, height: Int)
InventoryRowSlots
Link copied to clipboard
class InventoryRowSlots<T : ForInventory> : InventorySlotCompound<T>
InventorySlot
Link copied to clipboard
data class InventorySlot(row: Int, slotInRow: Int) : Comparable<InventorySlot>
InventorySlotCompound
Link copied to clipboard
interface InventorySlotCompound<out T : ForInventory>
InventorySlotRange
Link copied to clipboard
class InventorySlotRange<out T : ForInventory> : InventorySlotCompound<T> , ClosedRange<InventorySlot>
PageChangeEffect
Link copied to clipboard
enum PageChangeEffect : Enum<PageChangeEffect>
SharedGUICreator
Link copied to clipboard
class SharedGUICreator<T : ForInventory> : GUICreator<T>
SingleInventorySlot
Link copied to clipboard
open class SingleInventorySlot<T : ForInventory> : InventorySlotCompound<T>
Slots
Link copied to clipboard
object Slots

Functions

gotoPage
Link copied to clipboard
fun GUIInstance<*>.gotoPage(page: Int, overrideEffect: PageChangeEffect? = null)
kSpigotGUI
Link copied to clipboard
fun <T : ForInventory> kSpigotGUI(type: GUIType<T>, guiCreator: GUICreator<T> = IndividualGUICreator(), builder: GUIBuilder<T>.() -> Unit): GUI<T>
linTo
Link copied to clipboard
infix fun <T : ForInventory> SingleInventorySlot<out T>.linTo(slot: SingleInventorySlot<out T>): InventorySlotRange<T>
This range contains all slots having an index between the indeces of the two given slots.
openGUI
Link copied to clipboard
fun Player.openGUI(gui: GUI<*>, page: Int? = null): InventoryView?
rectTo
Link copied to clipboard
infix fun <T : ForInventory> SingleInventorySlot<out T>.rectTo(slot: SingleInventorySlot<out T>): InventorySlotRange<T>
This range contains all slots inside of a thought rectangle with the two given slots as two opposite corners of the rectangle.