Class SplitComponent
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.SplitComponent
-
- All Implemented Interfaces:
LayoutableRenderableEntity
,RenderableEntity
public class SplitComponent extends Object implements LayoutableRenderableEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SplitComponent.SplitComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SplitComponent.SplitComponentBuilder
builder()
Rectangle
getBounds()
Dimension
render(Graphics2D graphics)
void
setFirst(LayoutableRenderableEntity first)
void
setGap(Point gap)
void
setOrientation(ComponentOrientation orientation)
void
setPreferredLocation(Point preferredLocation)
void
setPreferredSize(Dimension preferredSize)
void
setSecond(LayoutableRenderableEntity second)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
render
in interfaceRenderableEntity
-
builder
public static SplitComponent.SplitComponentBuilder builder()
-
setFirst
public void setFirst(LayoutableRenderableEntity first)
-
setSecond
public void setSecond(LayoutableRenderableEntity second)
-
setPreferredLocation
public void setPreferredLocation(Point preferredLocation)
- Specified by:
setPreferredLocation
in interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSize
in interfaceLayoutableRenderableEntity
-
setOrientation
public void setOrientation(ComponentOrientation orientation)
-
setGap
public void setGap(Point gap)
-
getBounds
public Rectangle getBounds()
- Specified by:
getBounds
in interfaceLayoutableRenderableEntity
-
-