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 classSplitComponent.SplitComponentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SplitComponent.SplitComponentBuilderbuilder()RectanglegetBounds()Dimensionrender(Graphics2D graphics)voidsetFirst(LayoutableRenderableEntity first)voidsetGap(Point gap)voidsetOrientation(ComponentOrientation orientation)voidsetPreferredLocation(Point preferredLocation)voidsetPreferredSize(Dimension preferredSize)voidsetSecond(LayoutableRenderableEntity second)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
renderin 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:
setPreferredLocationin interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSizein interfaceLayoutableRenderableEntity
-
setOrientation
public void setOrientation(ComponentOrientation orientation)
-
setGap
public void setGap(Point gap)
-
getBounds
public Rectangle getBounds()
- Specified by:
getBoundsin interfaceLayoutableRenderableEntity
-
-