Package net.runelite.client.ui.overlay
Class WidgetItemOverlay
- java.lang.Object
-
- net.runelite.client.ui.overlay.Overlay
-
- net.runelite.client.ui.overlay.WidgetItemOverlay
-
- All Implemented Interfaces:
LayoutableRenderableEntity
,RenderableEntity
public abstract class WidgetItemOverlay extends Overlay
-
-
Field Summary
-
Fields inherited from class net.runelite.client.ui.overlay.Overlay
PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_MED
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WidgetItemOverlay()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Dimension
render(Graphics2D graphics)
abstract void
renderItemOverlay(Graphics2D graphics, int itemId, WidgetItem widgetItem)
void
setLayer(OverlayLayer layer)
void
setPosition(OverlayPosition position)
void
setPriority(float priority)
void
setPriority(OverlayPriority priority)
protected void
showOnBank()
protected void
showOnEquipment()
protected void
showOnInterfaces(int... ids)
protected void
showOnInventory()
-
Methods inherited from class net.runelite.client.ui.overlay.Overlay
addMenuEntry, addMenuEntry, drawAfterInterface, drawAfterLayer, drawAfterLayer, drawAfterLayer, getBounds, getDrawHooks, getLayer, getMenuEntries, getMinimumSize, getName, getParentBounds, getPlugin, getPosition, getPreferredLocation, getPreferredPosition, getPreferredSize, getPriority, isDragTargetable, isMovable, isResettable, isResizable, isSnappable, onDrag, onMouseOver, removeMenuEntry, revalidate, setBounds, setDragTargetable, setMinimumSize, setMovable, setPreferredLocation, setPreferredPosition, setPreferredSize, setResettable, setResizable, setSnappable
-
-
-
-
Method Detail
-
renderItemOverlay
public abstract void renderItemOverlay(Graphics2D graphics, int itemId, WidgetItem widgetItem)
-
render
public Dimension render(Graphics2D graphics)
-
showOnInventory
protected void showOnInventory()
-
showOnBank
protected void showOnBank()
-
showOnEquipment
protected void showOnEquipment()
-
showOnInterfaces
protected void showOnInterfaces(int... ids)
-
setPosition
public void setPosition(OverlayPosition position)
- Overrides:
setPosition
in classOverlay
-
setPriority
public void setPriority(float priority)
- Overrides:
setPriority
in classOverlay
-
setPriority
public void setPriority(OverlayPriority priority)
- Overrides:
setPriority
in classOverlay
-
setLayer
public void setLayer(OverlayLayer layer)
-
-