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 Color
getBackgroundColor()
Rectangle
getBounds()
List<LayoutableRenderableEntity>
getChildren()
Dimension
getPreferredSize()
Dimension
render(Graphics2D graphics)
void
setBackgroundColor(Color backgroundColor)
void
setBorder(Rectangle border)
void
setGap(Point gap)
void
setOrientation(ComponentOrientation orientation)
void
setPreferredLocation(Point preferredLocation)
void
setPreferredSize(Dimension preferredSize)
void
setWrap(boolean wrap)
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
- Specified by:
render
in interfaceRenderableEntity
-
getBounds
public Rectangle getBounds()
- Specified by:
getBounds
in interfaceLayoutableRenderableEntity
-
setPreferredLocation
public void setPreferredLocation(Point preferredLocation)
- Specified by:
setPreferredLocation
in interfaceLayoutableRenderableEntity
-
setPreferredSize
public void setPreferredSize(Dimension preferredSize)
- Specified by:
setPreferredSize
in 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)
-
-