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 ScreenController
public void onStartScreen()
onStartScreen
in interface ScreenController
public void onEndScreen()
onEndScreen
in interface ScreenController
public boolean keyEvent(NiftyInputEvent inputEvent)
keyEvent
in interface KeyInputHandler
public 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.