Class TitleComponent
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.TitleComponent
-
- All Implemented Interfaces:
LayoutableRenderableEntity,RenderableEntity
public class TitleComponent extends Object implements LayoutableRenderableEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTitleComponent.TitleComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TitleComponent.TitleComponentBuilderbuilder()RectanglegetBounds()Dimensionrender(Graphics2D graphics)voidsetColor(Color color)voidsetPreferredLocation(Point preferredLocation)voidsetPreferredSize(Dimension preferredSize)voidsetText(String text)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
renderin interfaceRenderableEntity
-
builder
public static TitleComponent.TitleComponentBuilder builder()
-
setText
public void setText(String text)
-
setColor
public void setColor(Color color)
-
setPreferredLocation
public void setPreferredLocation(Point preferredLocation)
- Specified by:
setPreferredLocationin interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSizein interfaceLayoutableRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBoundsin interfaceLayoutableRenderableEntity
-
-