public class ComponentSlot extends GuiComponent
| Modifier and Type | Field and Description |
|---|---|
int |
componentId |
GuiContainer |
container |
ContainerSlot |
slot |
| Constructor and Description |
|---|
ComponentSlot(GuiContainer container,
ContainerSlot slot,
int componentId,
int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
IResourceName |
getName() |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
void |
renderOverlay(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, setActive, shouldDoFingerCursor, toString, updatepublic final ContainerSlot slot
public final int componentId
public final GuiContainer container
public ComponentSlot(GuiContainer container, ContainerSlot slot, int componentId, int x, int y)
public boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class GuiComponentpublic IResourceName getName()
getName in class GuiComponentpublic void render(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
render in class GuiComponentpublic void renderOverlay(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
renderOverlay in class GuiComponent