public class ComponentRenderEvent extends Event
GuiComponent renders using GuiComponent.render(IGameInstance, IAssetManager, IGraphics, int, int).
Cancelling it will result in the component not being rendered.| Modifier and Type | Field and Description |
|---|---|
GuiComponent |
component |
Gui |
gui |
int |
id |
| Constructor and Description |
|---|
ComponentRenderEvent(Gui gui,
int id,
GuiComponent component) |
public final Gui gui
public final int id
public final GuiComponent component
public ComponentRenderEvent(Gui gui, int id, GuiComponent component)