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 class
TitleComponent.TitleComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TitleComponent.TitleComponentBuilder
builder()
Rectangle
getBounds()
Dimension
render(Graphics2D graphics)
void
setColor(Color color)
void
setPreferredLocation(Point preferredLocation)
void
setPreferredSize(Dimension preferredSize)
void
setText(String text)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
render
in 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:
setPreferredLocation
in interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSize
in interfaceLayoutableRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBounds
in interfaceLayoutableRenderableEntity
-
-