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 RectanglegetBounds()Dimensionrender(Graphics2D graphics)voidsetBackgroundColor(Color backgroundColor)voidsetModIcons(IndexedSprite[] modIcons)voidsetPosition(Point position)voidsetPreferredLocation(Point position)voidsetPreferredSize(Dimension dimension)voidsetText(String text)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
renderin interfaceRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBoundsin interfaceLayoutableRenderableEntity
-
setPreferredLocation
public void setPreferredLocation(Point position)
- Specified by:
setPreferredLocationin interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension dimension)
- Specified by:
setPreferredSizein 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)
-
-