Package tech.guilhermekaua.spigotboot.inventoryapi.context


package tech.guilhermekaua.spigotboot.inventoryapi.context
  • Class
    Description
    Context for View.onClose: the session is tearing down.
    Why a session closed; exposed through CloseContext.reason().
    Context for View.onOpen: runs before any container exists.
    Context for View.onFirstRender: declares this session's components.
    Context for component click handlers and View.onClick: one instance per intercepted InventoryClickEvent.
    Context for View.onUpdate: fired by scheduled ticks, state flushes, explicit updates and pagination settles.
    Why an update pass runs; exposed through UpdateContext.trigger().
    Base contract shared by every per-phase context handed to View lifecycle handlers.