Class LineComponent
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.LineComponent
-
- All Implemented Interfaces:
LayoutableRenderableEntity
,RenderableEntity
public class LineComponent extends Object implements LayoutableRenderableEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LineComponent.LineComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LineComponent.LineComponentBuilder
builder()
Rectangle
getBounds()
Dimension
render(Graphics2D graphics)
void
setLeft(String left)
void
setLeftColor(Color leftColor)
void
setLeftFont(Font leftFont)
void
setPreferredLocation(Point preferredLocation)
void
setPreferredSize(Dimension preferredSize)
void
setRight(String right)
void
setRightColor(Color rightColor)
void
setRightFont(Font rightFont)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
render
in interfaceRenderableEntity
-
builder
public static LineComponent.LineComponentBuilder builder()
-
setLeft
public void setLeft(String left)
-
setRight
public void setRight(String right)
-
setLeftColor
public void setLeftColor(Color leftColor)
-
setRightColor
public void setRightColor(Color rightColor)
-
setLeftFont
public void setLeftFont(Font leftFont)
-
setRightFont
public void setRightFont(Font rightFont)
-
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
-
-