Uses of Interface
tech.guilhermekaua.spigotboot.inventoryapi.state.StateToken
Packages that use StateToken
Package
Description
-
Uses of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.component
Methods in tech.guilhermekaua.spigotboot.inventoryapi.component with parameters of type StateTokenModifier and TypeMethodDescription@NotNull ItemComponentBuilderItemComponentBuilder.updateOnStateChange(@NotNull StateToken... tokens) Re-renders this component whenever one of the given tokens changes, at most once per flush. -
Uses of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.internal.component
Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.component with parameters of type StateTokenModifier and TypeMethodDescription@NotNull ItemComponentBuilderItemComponentBuilderImpl.updateOnStateChange(@NotNull StateToken... tokens) -
Uses of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination
Classes in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination that implement StateTokenModifier and TypeClassDescriptionfinal classThePaginationtoken implementation: a per-view singleton declared at view construction time whose per-context runtime lives in aPaginationBindingstored in this token's ownStateStoreslot. -
Uses of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.internal.state
Classes in tech.guilhermekaua.spigotboot.inventoryapi.internal.state that implement StateTokenModifier and TypeClassDescriptionfinal classMutable state token bound fromViewArgumentsat open: the open phase validates the argument type and writes the value straight into the session'sStateStore.final classRead-only state token computed once per context on the first read and stored in the session'sStateStore; anullresult is cached via a private sentinel so the computation never re-runs for that context.final classMutable per-context state token; values live in the session'sStateStore.final classShared state token: one atomic value per view singleton, readable and writable from any thread.Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.state that return types with arguments of type StateTokenModifier and TypeMethodDescription@NotNull List<StateToken>TokenTable.tokens()Returns the registered tokens in id order.Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.state with parameters of type StateTokenModifier and TypeMethodDescriptionintTokenTable.register(@NotNull StateToken token) Registers a token and assigns its id. -
Uses of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.pagination
Subinterfaces of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.paginationModifier and TypeInterfaceDescriptioninterfacePagination<T>Reactive pagination token, declared once per view through theView.paginate*factories and built byPaginationBuilder.build(). -
Uses of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.state
Subinterfaces of StateToken in tech.guilhermekaua.spigotboot.inventoryapi.stateModifier and TypeInterfaceDescriptioninterfaceMutableState<T>Mutable per-context state.interfaceSharedState<T>One value per view singleton, shared by all viewers; not context-keyed.interfaceState<T>Read access to a per-context value identified by this token.