| Package | Description |
|---|---|
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| io.github.portlek.smartinventory.page |
the package that contains
Page implementations. |
| Modifier and Type | Field and Description |
|---|---|
static InventoryProvider |
InventoryProvider.EMPTY
an empty inventory provider.
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends InventoryProvider> |
SmartInventory.notifyUpdateForAll(@NotNull Class<T> provider)
runs
update(InventoryContents) method of the given provider's class. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull InventoryProvider |
Page.provider()
obtains the inventory provider.
|
| Modifier and Type | Method and Description |
|---|---|
static Page |
Page.build(@NotNull SmartInventory inventory,
@NotNull InventoryProvider provider)
creates a simple page instance from the given parameters.
|
@NotNull Page |
Page.provider(@NotNull InventoryProvider provider)
sets the provider to the given provider
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull InventoryProvider |
BasicPage.provider() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Page |
BasicPage.provider(@NotNull InventoryProvider provider) |
| Constructor and Description |
|---|
BasicPage(@NotNull SmartInventory inventory,
@NotNull InventoryProvider provider)
ctor.
|
Copyright © 2021. All rights reserved.