Class TooltipComponent
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.TooltipComponent
-
- All Implemented Interfaces:
LayoutableRenderableEntity
,RenderableEntity
public class TooltipComponent extends Object implements LayoutableRenderableEntity
-
-
Constructor Summary
Constructors Constructor Description TooltipComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle
getBounds()
Dimension
render(Graphics2D graphics)
void
setBackgroundColor(Color backgroundColor)
void
setModIcons(IndexedSprite[] modIcons)
void
setPosition(Point position)
void
setPreferredLocation(Point position)
void
setPreferredSize(Dimension dimension)
void
setText(String text)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
render
in interfaceRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBounds
in interfaceLayoutableRenderableEntity
-
setPreferredLocation
public void setPreferredLocation(Point position)
- Specified by:
setPreferredLocation
in interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension dimension)
- Specified by:
setPreferredSize
in interfaceLayoutableRenderableEntity
-
setText
public void setText(String text)
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
-
setPosition
public void setPosition(Point position)
-
setModIcons
public void setModIcons(IndexedSprite[] modIcons)
-
-