public class UiInputSourceListenerAdapter extends java.lang.Object implements UiInputSourceListener
UiInputSourceListener
. All methods are
no-op and can be overridden individually.Constructor and Description |
---|
UiInputSourceListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
gamePadTypeChanged(UiContainer container,
GamePadType oldGamePadType,
GamePadType newGamePadType)
Called when the
GamePadType changes |
void |
inputSourceChanged(UiContainer container,
InputSource oldInputSource,
InputSource newInputSource)
Called when the
InputSource changes |
public void inputSourceChanged(UiContainer container, InputSource oldInputSource, InputSource newInputSource)
UiInputSourceListener
InputSource
changesinputSourceChanged
in interface UiInputSourceListener
container
- The UiContainer
that the InputSource
changed onoldInputSource
- The previous InputSource
newInputSource
- The new InputSource
public void gamePadTypeChanged(UiContainer container, GamePadType oldGamePadType, GamePadType newGamePadType)
UiInputSourceListener
GamePadType
changesgamePadTypeChanged
in interface UiInputSourceListener
container
- The UiContainer
that the GamePadType
changed onoldGamePadType
- The previous GamePadType
newGamePadType
- The new GamePadType