public class ElementHelpInfo
extends java.lang.Object
IGuiElement
. If you want to display
help at a particular position, but the target is not an IGuiElement
then you should use
DummyHelpElement
.Modifier and Type | Class and Description |
---|---|
static class |
ElementHelpInfo.HelpPosition
Stores an
ElementHelpInfo information, as well as the target area which the help element relates to. |
Modifier and Type | Field and Description |
---|---|
int |
colour |
java.lang.String[] |
localeKeys |
java.lang.String |
title |
Constructor and Description |
---|
ElementHelpInfo(java.lang.String title,
int colour,
java.lang.String... localeKeys) |
Modifier and Type | Method and Description |
---|---|
void |
addGuiElements(GuiElementContainerHelp container) |
ElementHelpInfo.HelpPosition |
target(IGuiArea target) |
public final java.lang.String title
public final int colour
public final java.lang.String[] localeKeys
public ElementHelpInfo(java.lang.String title, int colour, java.lang.String... localeKeys)
public final ElementHelpInfo.HelpPosition target(IGuiArea target)
public void addGuiElements(GuiElementContainerHelp container)