public interface UiContainerListener extends ScreenSizeListener
UiContainer events| Modifier and Type | Method and Description | 
|---|---|
void | 
controllerTypeChanged(UiContainer container,
                     ControllerType oldControllerType,
                     ControllerType newControllerType)
Called when the  
ControllerType changes | 
void | 
inputSourceChanged(UiContainer container,
                  InputSource oldInputSource,
                  InputSource newInputSource)
Called when the  
InputSource changes | 
void | 
onElementAction(UiContainer container,
               UiElement element)
Called when a  
UiElement becomes active from user input (e.g. | 
void | 
postInterpolate(UiContainer container,
               float alpha)
Called after the  
UiContainer is interpolated | 
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 | 
preInterpolate(UiContainer container,
              float alpha)
Called before the  
UiContainer is interpolated | 
void | 
preRender(UiContainer container,
         Graphics g)
Called before the  
UiContainer is rendered | 
void | 
preUpdate(UiContainer container,
         float delta)
Called before the  
UiContainer is updated | 
onScreenSizeChangedvoid 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 preInterpolate(UiContainer container, float alpha)
UiContainer is interpolatedcontainer - The UiContainer that will be interpolatedalpha - The frame interpolation valuevoid postInterpolate(UiContainer container, float alpha)
UiContainer is interpolatedcontainer - The UiContainer that was interpolatedalpha - The frame interpolation 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 inputSourceChanged(UiContainer container, InputSource oldInputSource, InputSource newInputSource)
InputSource changescontainer - The UiContainer that the InputSource changed onoldInputSource - The previous InputSourcenewInputSource - The new InputSourcevoid controllerTypeChanged(UiContainer container, ControllerType oldControllerType, ControllerType newControllerType)
ControllerType changescontainer - The UiContainer that the ControllerType changed onoldControllerType - The previous ControllerTypenewControllerType - The new ControllerTypevoid 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