Class TitleComponent.TitleComponentBuilder
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.TitleComponent.TitleComponentBuilder
-
- Enclosing class:
- TitleComponent
public static class TitleComponent.TitleComponentBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TitleComponent.TitleComponentBuilder
bounds(Rectangle bounds)
TitleComponent
build()
TitleComponent.TitleComponentBuilder
color(Color color)
TitleComponent.TitleComponentBuilder
preferredLocation(Point preferredLocation)
TitleComponent.TitleComponentBuilder
preferredSize(Dimension preferredSize)
TitleComponent.TitleComponentBuilder
text(String text)
String
toString()
-
-
-
Method Detail
-
text
public TitleComponent.TitleComponentBuilder text(String text)
- Returns:
this
.
-
color
public TitleComponent.TitleComponentBuilder color(Color color)
- Returns:
this
.
-
preferredLocation
public TitleComponent.TitleComponentBuilder preferredLocation(Point preferredLocation)
- Returns:
this
.
-
preferredSize
public TitleComponent.TitleComponentBuilder preferredSize(Dimension preferredSize)
- Returns:
this
.
-
bounds
public TitleComponent.TitleComponentBuilder bounds(Rectangle bounds)
- Returns:
this
.
-
build
public TitleComponent build()
-
-