public interface UiContainerListener extends ScreenSizeListener, UiInputSourceListener
UiContainer events| Modifier and Type | Method and Description |
|---|---|
void |
onElementAction(UiContainer container,
UiElement element)
Called when a
UiElement becomes active from user input (e.g. |
void |
postRender(UiContainer container,
Graphics g)
Called after the
UiContainer is rendered |
void |
postUpdate(UiContainer container,
float delta)
Called after the
UiContainer is updated |
void |
preRender(UiContainer container,
Graphics g)
Called before the
UiContainer is rendered |
void |
preUpdate(UiContainer container,
float delta)
Called before the
UiContainer is updated |
onScreenSizeChangedgamePadTypeChanged, inputSourceChangedvoid preUpdate(UiContainer container, float delta)
UiContainer is updatedcontainer - The UiContainer that will be updateddelta - The frame delta valuevoid postUpdate(UiContainer container, float delta)
UiContainer is updatedcontainer - The UiContainer that was updateddelta - The frame delta valuevoid preRender(UiContainer container, Graphics g)
UiContainer is renderedcontainer - The UiContainer that will be renderedg - The Graphics contextvoid postRender(UiContainer container, Graphics g)
UiContainer is renderedcontainer - The UiContainer that was renderedg - The Graphics contextvoid onElementAction(UiContainer container, UiElement element)
UiElement becomes active from user input (e.g. click events, etc.)container - The UiContainer the element became active onelement - The UiElement that became active