public class UIInventory extends UIContainer<UIInventory>
ITransformable.Alpha, ITransformable.Brightness, ITransformable.Color, ITransformable.Position<T>, ITransformable.Rotate, ITransformable.Scale, ITransformable.Size<T>, ITransformable.Translate
clipContent, components, contentHeight, contentWidth, horizontalPadding, titleLabel, verticalPadding, xOffset, yOffset
Constructor and Description |
---|
UIInventory(MalisisGui gui,
MalisisInventory inventory) |
UIInventory(MalisisGui gui,
MalisisInventory inventory,
int numCols) |
UIInventory(MalisisGui gui,
java.lang.String title,
MalisisInventory inventory) |
UIInventory(MalisisGui gui,
java.lang.String title,
MalisisInventory inventory,
int numCols) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSlot(MalisisGui gui,
MalisisSlot slot,
int number) |
add, calculateContentSize, componentX, componentY, drawBackground, drawForeground, getClipArea, getComponentAt, getContentHeight, getContentWidth, getHorizontalPadding, getOffsetX, getOffsetY, getScrollStep, getTitle, getVerticalPadding, onAddedToScreen, onClose, onComponentSpaceChange, onComponentStateChange, onContentUpdate, remove, removeAll, setClipContent, setDisabled, setOffsetX, setOffsetY, setPadding, setTitle, setVisible, shouldClipContent
addControlComponent, draw, fireEvent, getAlpha, getAnchor, getGui, getHeight, getName, getParent, getPropertyString, getRawHeight, getRawWidth, getTooltip, getWidth, getX, getY, getZIndex, isDisabled, isFocused, isHovered, isInsideBounds, isRelativeHeight, isRelativeWidth, isVisible, onButtonPress, onButtonRelease, onClick, onDoubleClick, onDrag, onKeyTyped, onMouseMove, onRightClick, onScrollWheel, parentX, parentY, register, relativeX, relativeY, removeAllControlComponents, removeControlComponent, screenX, screenY, setAlpha, setAnchor, setFocused, setHovered, setName, setParent, setPosition, setPosition, setSize, setTooltip, setTooltip, setZIndex, toString, unregister
public UIInventory(MalisisGui gui, java.lang.String title, MalisisInventory inventory, int numCols)
public UIInventory(MalisisGui gui, MalisisInventory inventory, int numCols)
public UIInventory(MalisisGui gui, java.lang.String title, MalisisInventory inventory)
public UIInventory(MalisisGui gui, MalisisInventory inventory)
protected void addSlot(MalisisGui gui, MalisisSlot slot, int number)