Class PanelComponent
- java.lang.Object
-
- net.runelite.client.ui.overlay.components.PanelComponent
-
- All Implemented Interfaces:
LayoutableRenderableEntity,RenderableEntity
public class PanelComponent extends Object implements LayoutableRenderableEntity
-
-
Constructor Summary
Constructors Constructor Description PanelComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetBackgroundColor()RectanglegetBounds()List<LayoutableRenderableEntity>getChildren()DimensiongetPreferredSize()Dimensionrender(Graphics2D graphics)voidsetBackgroundColor(Color backgroundColor)voidsetBorder(Rectangle border)voidsetGap(Point gap)voidsetOrientation(ComponentOrientation orientation)voidsetPreferredLocation(Point preferredLocation)voidsetPreferredSize(Dimension preferredSize)voidsetWrap(boolean wrap)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
renderin interfaceRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBoundsin interfaceLayoutableRenderableEntity
-
setPreferredLocation
public void setPreferredLocation(Point preferredLocation)
- Specified by:
setPreferredLocationin interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSizein interfaceLayoutableRenderableEntity
-
getPreferredSize
public Dimension getPreferredSize()
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
-
getBackgroundColor
public Color getBackgroundColor()
-
getChildren
public List<LayoutableRenderableEntity> getChildren()
-
setOrientation
public void setOrientation(ComponentOrientation orientation)
-
setWrap
public void setWrap(boolean wrap)
-
setBorder
public void setBorder(Rectangle border)
-
setGap
public void setGap(Point gap)
-
-