Class InfoBox
- java.lang.Object
-
- net.runelite.client.ui.overlay.infobox.InfoBox
-
-
Constructor Summary
Constructors Constructor Description InfoBox(BufferedImage image, Plugin plugin)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
cull()
BufferedImage
getImage()
List<OverlayMenuEntry>
getMenuEntries()
String
getName()
abstract String
getText()
abstract Color
getTextColor()
String
getTooltip()
boolean
render()
void
setImage(BufferedImage image)
void
setMenuEntries(List<OverlayMenuEntry> menuEntries)
void
setPriority(InfoBoxPriority priority)
void
setTooltip(String tooltip)
-
-
-
Constructor Detail
-
InfoBox
public InfoBox(BufferedImage image, @Nonnull Plugin plugin)
-
-
Method Detail
-
getText
public abstract String getText()
-
getTextColor
public abstract Color getTextColor()
-
render
public boolean render()
-
cull
public boolean cull()
-
getName
public String getName()
-
getImage
public BufferedImage getImage()
-
setImage
public void setImage(BufferedImage image)
-
setPriority
public void setPriority(InfoBoxPriority priority)
-
getTooltip
public String getTooltip()
-
setTooltip
public void setTooltip(String tooltip)
-
getMenuEntries
public List<OverlayMenuEntry> getMenuEntries()
-
setMenuEntries
public void setMenuEntries(List<OverlayMenuEntry> menuEntries)
-
-