| Package | Description |
|---|---|
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| io.github.portlek.smartinventory.handle |
the package that contains
Handle implementations. |
| io.github.portlek.smartinventory.icon |
the package that contains
Icon implementations. |
| io.github.portlek.smartinventory.page |
the package that contains
Page implementations. |
| 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 | Method and Description |
|---|---|
<T extends IconEvent> |
Icon.handle(@NotNull Handle<T> handle)
adds the given handle into the icon's handle list.
|
<T extends PageEvent> |
Page.handle(@NotNull Handle<T> handle)
adds the given handle.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicHandle<T extends SmartEvent>
an implementation for
Handle. |
| Modifier and Type | Method and Description |
|---|---|
<T extends IconEvent> |
BasicIcon.handle(@NotNull Handle<T> handle) |
| Modifier and Type | Method and Description |
|---|---|
<T extends PageEvent> |
BasicPage.handle(@NotNull Handle<T> handle) |
Copyright © 2021. All rights reserved.