public class ControlsDemoScreenController<T> extends Object implements ScreenController, KeyInputHandler
| Constructor and Description |
|---|
ControlsDemoScreenController(ResolutionControl<T> resolutionControl,
String... mapping) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty nifty,
Screen screen) |
boolean |
keyEvent(NiftyInputEvent inputEvent) |
void |
onConsoleEvent(String id,
ConsoleExecuteCommandEvent executeCommandEvent) |
void |
onCreditsBackClick(String id,
ButtonClickedEvent event) |
void |
onEndScreen() |
void |
onMenuButtonListBoxClick(String id,
NiftyMousePrimaryClickedEvent clickedEvent) |
void |
onResolution(String id,
DropDownSelectionChangedEvent<T> event) |
void |
onSliderChanged(String id,
SliderChangedEvent sliderChangedEvent) |
void |
onStartScreen() |
void |
onTestButtonClick(String id,
ButtonClickedEvent clickedEvent) |
void |
openLink(String url) |
public ControlsDemoScreenController(ResolutionControl<T> resolutionControl, String... mapping)
public void bind(Nifty nifty, Screen screen)
bind in interface ScreenControllerpublic void onStartScreen()
onStartScreen in interface ScreenControllerpublic void onEndScreen()
onEndScreen in interface ScreenControllerpublic boolean keyEvent(NiftyInputEvent inputEvent)
keyEvent in interface KeyInputHandlerpublic void openLink(String url)
public void onMenuButtonListBoxClick(String id, NiftyMousePrimaryClickedEvent clickedEvent)
public void onCreditsBackClick(String id, ButtonClickedEvent event)
public void onTestButtonClick(String id, ButtonClickedEvent clickedEvent)
public void onConsoleEvent(String id, ConsoleExecuteCommandEvent executeCommandEvent)
public void onResolution(String id, DropDownSelectionChangedEvent<T> event)
public void onSliderChanged(String id, SliderChangedEvent sliderChangedEvent)
Copyright © 2013. All Rights Reserved.