public interface IControlComponent
UIComponent.| Modifier and Type | Method and Description |
|---|---|
void |
draw(GuiRenderer renderer,
int mouseX,
int mouseY,
float partialTick)
Draws this
IControlComponent. |
boolean |
fireKeyboardEvent(KeyboardEvent event)
Fires an event for this
IControlComponent. |
UIComponent |
getComponentAt(int x,
int y)
Gets the component at the specified coordinates.
|
UIComponent |
getParent()
Gets the
UIComponent controlled by this IControlComponent. |
void |
setParent(UIComponent component)
Sets the
UIComponent controlled by this IControlComponent. |
void setParent(UIComponent component)
UIComponent controlled by this IControlComponent.component - the parentUIComponent getParent()
UIComponent controlled by this IControlComponent.UIComponent getComponentAt(int x, int y)
UIComponent.getComponentAt(int, int).x - the xy - the yboolean fireKeyboardEvent(KeyboardEvent event)
IControlComponent. See UIComponent.fireKeyboardEvent(KeyboardEvent).event - the eventvoid draw(GuiRenderer renderer, int mouseX, int mouseY, float partialTick)
IControlComponent. See UIComponent.draw(GuiRenderer, int, int, float).renderer - the renderermouseX - the mouse xmouseY - the mouse ypartialTick - the partial tick