public class UiContainerListenerAdapter extends java.lang.Object implements UiContainerListener
UiContainerListener. All methods are
 no-op and can be overridden individually.| Constructor and Description | 
|---|
UiContainerListenerAdapter()  | 
| 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 | 
onScreenSizeChanged(ScreenSize screenSize)
Called when the  
ScreenSize changes and the listener is registered
 with a UiContainer | 
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 | 
public void onScreenSizeChanged(ScreenSize screenSize)
ScreenSizeListenerScreenSize changes and the listener is registered
 with a UiContaineronScreenSizeChanged in interface ScreenSizeListenerscreenSize - The new ScreenSizepublic void preUpdate(UiContainer container, float delta)
UiContainerListenerUiContainer is updatedpreUpdate in interface UiContainerListenercontainer - The UiContainer that will be updateddelta - The frame delta valuepublic void postUpdate(UiContainer container, float delta)
UiContainerListenerUiContainer is updatedpostUpdate in interface UiContainerListenercontainer - The UiContainer that was updateddelta - The frame delta valuepublic void preInterpolate(UiContainer container, float alpha)
UiContainerListenerUiContainer is interpolatedpreInterpolate in interface UiContainerListenercontainer - The UiContainer that will be interpolatedalpha - The frame interpolation valuepublic void postInterpolate(UiContainer container, float alpha)
UiContainerListenerUiContainer is interpolatedpostInterpolate in interface UiContainerListenercontainer - The UiContainer that was interpolatedalpha - The frame interpolation valuepublic void preRender(UiContainer container, Graphics g)
UiContainerListenerUiContainer is renderedpreRender in interface UiContainerListenercontainer - The UiContainer that will be renderedg - The Graphics contextpublic void postRender(UiContainer container, Graphics g)
UiContainerListenerUiContainer is renderedpostRender in interface UiContainerListenercontainer - The UiContainer that was renderedg - The Graphics contextpublic void inputSourceChanged(UiContainer container, InputSource oldInputSource, InputSource newInputSource)
UiContainerListenerInputSource changesinputSourceChanged in interface UiContainerListenercontainer - The UiContainer that the InputSource changed onoldInputSource - The previous InputSourcenewInputSource - The new InputSourcepublic void controllerTypeChanged(UiContainer container, ControllerType oldControllerType, ControllerType newControllerType)
UiContainerListenerControllerType changescontrollerTypeChanged in interface UiContainerListenercontainer - The UiContainer that the ControllerType changed onoldControllerType - The previous ControllerTypenewControllerType - The new ControllerTypepublic void onElementAction(UiContainer container, UiElement element)
UiContainerListenerUiElement becomes active from user input (e.g. click events, etc.)onElementAction in interface UiContainerListenercontainer - The UiContainer the element became active onelement - The UiElement that became active