public final class ViewImpl extends java.lang.Object implements net.infumia.frame.view.View, ViewEventHandler
| Constructor and Description |
|---|
ViewImpl(@NotNull net.infumia.frame.context.view.ContextInit context,
@NotNull java.lang.Object instance) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull net.infumia.frame.context.view.ContextInit |
context() |
void |
handleInventoryDrag(@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull org.bukkit.event.inventory.InventoryDragEvent event) |
void |
handleItemDrop(@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull org.bukkit.event.player.PlayerDropItemEvent event) |
void |
handleItemPickup(@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull org.bukkit.event.player.PlayerPickupItemEvent event) |
@NotNull java.lang.Object |
instance() |
@NotNull net.infumia.frame.pipeline.executor.PipelineExecutorView |
pipelines() |
@NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.service.ConsumerService.State> |
simulateClick(@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull org.bukkit.event.inventory.InventoryClickEvent event) |
@NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.service.ConsumerService.State> |
simulateClose(@NotNull net.infumia.frame.viewer.ContextualViewer viewer) |
@NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.service.ConsumerService.State> |
simulateOnInit() |
@NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.context.view.ContextRender> |
simulateOpen(@NotNull java.util.Collection<org.bukkit.entity.Player> viewers,
@NotNull net.infumia.frame.typedkey.TypedKeyStorageImmutable initialData) |
@NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.context.view.ContextRender> |
simulateOpenActive(@NotNull net.infumia.frame.context.view.ContextRender activeContext,
@NotNull java.util.Collection<org.bukkit.entity.Player> viewers) |
public ViewImpl(@NotNull
@NotNull net.infumia.frame.context.view.ContextInit context,
@NotNull
@NotNull java.lang.Object instance)
@NotNull public @NotNull net.infumia.frame.context.view.ContextInit context()
context in interface net.infumia.frame.view.View@NotNull public @NotNull java.lang.Object instance()
instance in interface net.infumia.frame.view.View@NotNull public @NotNull net.infumia.frame.pipeline.executor.PipelineExecutorView pipelines()
pipelines in interface net.infumia.frame.pipeline.Pipelined<net.infumia.frame.pipeline.executor.PipelineExecutorView>@NotNull public @NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.service.ConsumerService.State> simulateOnInit()
simulateOnInit in interface ViewEventHandler@NotNull
public @NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.context.view.ContextRender> simulateOpen(@NotNull
@NotNull java.util.Collection<org.bukkit.entity.Player> viewers,
@NotNull
@NotNull net.infumia.frame.typedkey.TypedKeyStorageImmutable initialData)
simulateOpen in interface ViewEventHandler@NotNull
public @NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.context.view.ContextRender> simulateOpenActive(@NotNull
@NotNull net.infumia.frame.context.view.ContextRender activeContext,
@NotNull
@NotNull java.util.Collection<org.bukkit.entity.Player> viewers)
simulateOpenActive in interface ViewEventHandler@NotNull
public @NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.service.ConsumerService.State> simulateClick(@NotNull
@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull
@NotNull org.bukkit.event.inventory.InventoryClickEvent event)
simulateClick in interface ViewEventHandler@NotNull
public @NotNull java.util.concurrent.CompletableFuture<net.infumia.frame.service.ConsumerService.State> simulateClose(@NotNull
@NotNull net.infumia.frame.viewer.ContextualViewer viewer)
simulateClose in interface ViewEventHandlerpublic void handleItemPickup(@NotNull
@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull
@NotNull org.bukkit.event.player.PlayerPickupItemEvent event)
handleItemPickup in interface ViewEventHandlerpublic void handleItemDrop(@NotNull
@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull
@NotNull org.bukkit.event.player.PlayerDropItemEvent event)
handleItemDrop in interface ViewEventHandlerpublic void handleInventoryDrag(@NotNull
@NotNull net.infumia.frame.viewer.ContextualViewer viewer,
@NotNull
@NotNull org.bukkit.event.inventory.InventoryDragEvent event)
handleInventoryDrag in interface ViewEventHandler