public class ContextClickImpl extends ContextRenderImpl implements net.infumia.frame.context.view.ContextClick
| Constructor and Description |
|---|
ContextClickImpl(@NotNull net.infumia.frame.context.view.ContextClick context) |
ContextClickImpl(@NotNull net.infumia.frame.viewer.ContextualViewer clicker,
@NotNull org.bukkit.event.inventory.InventoryClickEvent event) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelled() |
void |
cancelled(boolean cancelled) |
@Nullable net.infumia.frame.view.ViewContainer |
clickedContainer() |
int |
clickedSlot() |
int |
clickedSlotRaw() |
org.bukkit.event.inventory.InventoryType.SlotType |
clickedSlotType() |
@NotNull net.infumia.frame.viewer.ContextualViewer |
clicker() |
@NotNull org.bukkit.event.inventory.ClickType |
clickType() |
boolean |
entityContainer() |
@NotNull org.bukkit.event.inventory.InventoryClickEvent |
event() |
boolean |
isLayoutSlot() |
boolean |
isLayoutSlot(char character) |
boolean |
keyboardClick() |
boolean |
leftClick() |
boolean |
middleClick() |
boolean |
outsideClicked() |
boolean |
rightClick() |
boolean |
shiftClick() |
addElement, availableSlot, availableSlot, back, canBack, closeForEveryone, closeForEveryone, closeForViewer, closeForViewer, config, container, elements, firstSlot, lastSlot, layouts, layoutSlot, layoutSlot, layoutSlot, pipelines, pipelinesViewer, position, resultSlot, resultSlot, simulateFirstRender, simulateNavigate, simulateResume, slot, slotFinder, unsetSlot, updateTask, updateTaskaddViewer, equals, hashCode, id, initialConfig, initialData, openForEveryone, openForEveryone, openForViewer, openForViewer, removeViewer, sharedView, stateValueHost, view, viewer, viewerOrThrow, viewersframe, instances, stateRegistrybuildComputedAsyncPaginationState, buildComputedAsyncPaginationState, buildComputedPaginationState, buildComputedPaginationState, buildLazyAsyncPaginationState, buildLazyAsyncPaginationState, buildLazyPaginationState, buildLazyPaginationState, buildPaginationState, createComputedAsyncPaginationState, createComputedAsyncPaginationState, createComputedPaginationState, createComputedPaginationState, createComputedState, createComputedState, createInitialState, createLazyAsyncPaginationState, createLazyAsyncPaginationState, createLazyPaginationState, createLazyPaginationState, createLazyState, createLazyState, createMutableState, createPaginationState, createStateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitback, canBack, closeForEveryone, closeForEveryone, closeForViewer, closeForViewer, config, container, layouts, pipelinesViewerid, initialConfig, initialData, openForEveryone, openForEveryone, openForViewer, openForViewer, sharedView, view, viewer, viewersbuildComputedAsyncPaginationState, buildComputedAsyncPaginationState, buildComputedPaginationState, buildComputedPaginationState, buildLazyAsyncPaginationState, buildLazyAsyncPaginationState, buildLazyPaginationState, buildLazyPaginationState, buildPaginationState, createComputedAsyncPaginationState, createComputedAsyncPaginationState, createComputedPaginationState, createComputedPaginationState, createComputedState, createComputedState, createInitialState, createLazyAsyncPaginationState, createLazyAsyncPaginationState, createLazyPaginationState, createLazyPaginationState, createLazyState, createLazyState, createMutableState, createPaginationState, createStateavailableSlot, availableSlot, firstSlot, lastSlot, layoutSlot, layoutSlot, layoutSlot, position, resultSlot, resultSlot, slot, unsetSlotaddViewer, removeViewer, viewerOrThrowstateRegistrypublic ContextClickImpl(@NotNull
@NotNull net.infumia.frame.viewer.ContextualViewer clicker,
@NotNull
@NotNull org.bukkit.event.inventory.InventoryClickEvent event)
public ContextClickImpl(@NotNull
@NotNull net.infumia.frame.context.view.ContextClick context)
@NotNull public @NotNull org.bukkit.event.inventory.InventoryClickEvent event()
event in interface net.infumia.frame.context.view.ContextClick@NotNull public @NotNull net.infumia.frame.viewer.ContextualViewer clicker()
clicker in interface net.infumia.frame.context.view.ContextClick@NotNull public @NotNull org.bukkit.event.inventory.ClickType clickType()
clickType in interface net.infumia.frame.context.view.ContextClick@Nullable public @Nullable net.infumia.frame.view.ViewContainer clickedContainer()
clickedContainer in interface net.infumia.frame.context.view.ContextClickpublic int clickedSlot()
clickedSlot in interface net.infumia.frame.context.view.ContextClickpublic int clickedSlotRaw()
clickedSlotRaw in interface net.infumia.frame.context.view.ContextClick@NotNull public org.bukkit.event.inventory.InventoryType.SlotType clickedSlotType()
clickedSlotType in interface net.infumia.frame.context.view.ContextClickpublic boolean leftClick()
leftClick in interface net.infumia.frame.context.view.ContextClickpublic boolean rightClick()
rightClick in interface net.infumia.frame.context.view.ContextClickpublic boolean middleClick()
middleClick in interface net.infumia.frame.context.view.ContextClickpublic boolean shiftClick()
shiftClick in interface net.infumia.frame.context.view.ContextClickpublic boolean keyboardClick()
keyboardClick in interface net.infumia.frame.context.view.ContextClickpublic boolean outsideClicked()
outsideClicked in interface net.infumia.frame.context.view.ContextClickpublic boolean entityContainer()
entityContainer in interface net.infumia.frame.context.view.ContextClickpublic boolean isLayoutSlot()
isLayoutSlot in interface net.infumia.frame.context.view.ContextClickpublic boolean isLayoutSlot(char character)
isLayoutSlot in interface net.infumia.frame.context.view.ContextClickpublic boolean cancelled()
cancelled in interface net.infumia.frame.service.Cancellablepublic void cancelled(boolean cancelled)
cancelled in interface net.infumia.frame.service.Cancellable