public interface ItemWidget extends Item, Interactable
Modifier and Type | Method and Description |
---|---|
default java.awt.Rectangle |
getBounds()
Gets the bounding rectangle of this item.
|
int |
getHeight()
Gets the height of this item on screen.
|
int |
getIndex()
Gets the index of this item widget.
|
default java.awt.Point |
getLocation()
Gets the x and y-coordinate of this item on screen.
|
int |
getWidth()
Gets the width of this item on screen.
|
int |
getX()
Gets the x-coordinate of this item on screen.
|
int |
getY()
Gets the y-coordinate of this item on screen.
|
getGroundActions, getHighAlchemyPrice, getLowAlchemyPrice, getNotedId, getStackSize, getStorePrice, getUnNotedId, hasGroundAction, isMembers, isNoted, isStackable
getId
isValid
interact, interact, interact, interact, interact, interactMatch
click, click, hover
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
getActions, hasAction, hasActionMatch
int getIndex()
int getX()
int getY()
default java.awt.Point getLocation()
Point
int getWidth()
int getHeight()
default java.awt.Rectangle getBounds()
Rectangle
, if not visible, this returns a Rectangle with its properties set to -1