Uses of Class
com.ultikits.ultitools.ui.ContainerSpec.Builder
Packages that use ContainerSpec.Builder
Package
Description
Backend-independent UI intents (notice, confirm, form, choice, grid) and the service that shows them.
-
Uses of ContainerSpec.Builder in com.ultikits.ultitools.ui
Methods in com.ultikits.ultitools.ui that return ContainerSpec.BuilderModifier and TypeMethodDescriptionInitial contents that are the baseline (for example read from storage); not owed to anyone.ContainerSpec.Builder.commitTimeout(Duration timeout) Default 30 s; positive, at most 10 minutes.ContainerSpec.Builder.disposition(Disposition disposition) Required for storage; rejected for template.ContainerSpec.Builder.endWhenUnviewed(boolean end) Default true: the container ends as soon as no session shows it any more, whatever the reason: the last showing session closes (in that session's close step, after its screen closes and before its result completes), orGridSession.update(Grid)gives every showing session a snapshot that no longer binds it.Initial contents, counted as put in bycontributor(the RETURN disposition gives them back to them).ContainerSpec.Builder.onChange(Consumer<ContainerChange> listener) Called after each applied transfer, on the container's thread; exceptions are logged and swallowed.ContainerSpec.Builder.policy(TransferPolicy policy) DefaultTransferPolicy.allowAll().static ContainerSpec.BuilderContainerSpec.storage(int size) Real items.ContainerSpec.Builder.store(ContainerStore store) Required when the disposition is COMMIT; rejected otherwise.static ContainerSpec.BuilderContainerSpec.template(int size) Copies (editors of definitions): put-in copies, take-out deletes the copy; no disposition, store or handler.ContainerSpec.Builder.undelivered(UndeliveredHandler handler) Required for storage (items owed to a player who cannot receive them).Constructors in com.ultikits.ultitools.ui with parameters of type ContainerSpec.Builder