Package | Description |
---|---|
com.codelanx.codelanxlib.inventory.iinterface |
Modifier and Type | Method and Description |
---|---|
InventoryPanel |
InventoryInterface.find(Predicate<? super InventoryPanel> filter)
Searches for a specific
InventoryPanel used in this interface |
InventoryPanel |
InventoryInterface.getLinkedPanel(MenuIcon icon)
Gets a linked
InventoryPanel from a MenuIcon object. |
InventoryPanel |
InventoryInterface.getPanelBySeed(String title)
Returns an
InventoryPanel based on its generated seed |
InventoryPanel |
InventoryInterface.getRootPanel()
Returns the root
InventoryPanel . |
InventoryPanel |
InventoryInterface.newPanel(int rows)
Creates and returns an
InventoryPanel for use as a menu |
InventoryPanel |
InventoryInterface.newPanel(String name,
int rows)
Creates and returns an
InventoryPanel for use as a menu |
InventoryPanel |
InventoryPanel.setSerializedName(String name)
Sets the serialized name for this panel
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends InventoryPanel> |
InventoryInterface.getPanels()
Returns all
InventoryPanel objects controlled by this interface |
Modifier and Type | Method and Description |
---|---|
protected boolean |
InventoryInterface.isRoot(InventoryPanel panel)
Determines if a passed
InventoryPanel is the root panel |
protected void |
InventoryInterface.linkPanel(MenuIcon icon,
InventoryPanel panel)
Links a
MenuIcon to open an InventoryPanel |
void |
InventoryInterface.setRootPanel(InventoryPanel panel)
Sets the root panel of this
InventoryInterface |
Modifier and Type | Method and Description |
---|---|
InventoryPanel |
InventoryInterface.find(Predicate<? super InventoryPanel> filter)
Searches for a specific
InventoryPanel used in this interface |
Copyright © 2017. All rights reserved.