| Package | Description |
|---|---|
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| io.github.portlek.smartinventory.event |
the package that contains event classes.
|
| io.github.portlek.smartinventory.event.abs |
the package that contains interfaces of all the events.
|
| io.github.portlek.smartinventory.handle |
the package that contains
Handle implementations. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Handle<T extends SmartEvent>
a class that handles and runs the given consumer after checking the requirements.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SmartEvent> |
Handle.from(@NotNull Class<T> clazz,
@NotNull Consumer<T> consumer,
@NotNull List<Predicate<T>> requirements)
creates a simple handler.
|
static <T extends SmartEvent> |
Handle.from(@NotNull Class<T> clazz,
@NotNull Consumer<T> consumer,
Predicate<T>... requirements)
creates a simple handler.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IcClickEvent |
class |
IcDragEvent |
class |
PgBottomClickEvent |
class |
PgClickEvent |
class |
PgCloseEvent |
class |
PgInitEvent |
class |
PgOpenEvent |
class |
PgOutsideClickEvent |
class |
PgTickEvent |
class |
PgUpdateEvent |
class |
PlgnDisableEvent |
class |
PlyrQuitEvent |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BottomClickEvent |
interface |
ClickEvent |
interface |
CloseEvent |
interface |
DisableEvent |
interface |
DragEvent |
interface |
IconEvent |
interface |
InitEvent |
interface |
OpenEvent |
interface |
OutsideClickEvent |
interface |
PageClickEvent |
interface |
PageEvent |
interface |
QuitEvent |
interface |
TickEvent |
interface |
UpdateEvent |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicHandle<T extends SmartEvent>
an implementation for
Handle. |
Copyright © 2021. All rights reserved.