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 classLineComponent.LineComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LineComponent.LineComponentBuilderbuilder()RectanglegetBounds()Dimensionrender(Graphics2D graphics)voidsetLeft(String left)voidsetLeftColor(Color leftColor)voidsetLeftFont(Font leftFont)voidsetPreferredLocation(Point preferredLocation)voidsetPreferredSize(Dimension preferredSize)voidsetRight(String right)voidsetRightColor(Color rightColor)voidsetRightFont(Font rightFont)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
renderin 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:
setPreferredLocationin interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSizein interfaceLayoutableRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBoundsin interfaceLayoutableRenderableEntity
-
-