| 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.icon |
the package that contains
Icon implementations. |
| Modifier and Type | Method and Description |
|---|---|
<T extends IconEvent> |
Icon.accept(T event)
accepts the upcoming event for all of the handles.
|
default <T extends IconEvent> |
Icon.handle(@NotNull Class<T> clazz,
@NotNull Consumer<T> consumer,
@NotNull List<Predicate<T>> requirements)
add the given event and requirements to the icon's handles.
|
<T extends IconEvent> |
Icon.handle(@NotNull Handle<T> handle)
adds the given handle into the icon's handle list.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IcClickEvent |
class |
IcDragEvent |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClickEvent |
interface |
DragEvent |
| Modifier and Type | Method and Description |
|---|---|
<T extends IconEvent> |
BasicIcon.accept(T event) |
<T extends IconEvent> |
BasicIcon.handle(@NotNull Handle<T> handle) |
Copyright © 2021. All rights reserved.