setItem

abstract override fun setItem(slot: Int, value: KItem)

Sets the item relative to the current page, respecting the header and the footer If a header is set, the rows will be shifted by the header row. If a footer is set, the slots inside the last row are not accessible

If you want to set these slots anyway, use

Parameters

slot

the slot in the page.

value

the item to set

See also

Throws

when the slot is bigger than the size or in the footer