de.lessvoid.nifty.examples.defaultcontrols
Class ControlsDemoScreenController
java.lang.Object
de.lessvoid.nifty.examples.defaultcontrols.ControlsDemoScreenController
- All Implemented Interfaces:
- KeyInputHandler, ScreenController
public class ControlsDemoScreenController
- extends Object
- implements ScreenController, KeyInputHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlsDemoScreenController
public ControlsDemoScreenController(String... mapping)
bind
public void bind(Nifty nifty,
Screen screen)
- Specified by:
bind
in interface ScreenController
onStartScreen
public void onStartScreen()
- Specified by:
onStartScreen
in interface ScreenController
onEndScreen
public void onEndScreen()
- Specified by:
onEndScreen
in interface ScreenController
keyEvent
public boolean keyEvent(NiftyInputEvent inputEvent)
- Specified by:
keyEvent
in interface KeyInputHandler
openLink
public void openLink(String url)
onMenuButtonListBoxClick
public void onMenuButtonListBoxClick(String id,
NiftyMousePrimaryClickedEvent clickedEvent)
onCreditsBackClick
public void onCreditsBackClick(String id,
ButtonClickedEvent event)
onTestButtonClick
public void onTestButtonClick(String id,
ButtonClickedEvent clickedEvent)
onConsoleEvent
public void onConsoleEvent(String id,
ConsoleExecuteCommandEvent executeCommandEvent)
onResolution
public void onResolution(String id,
DropDownSelectionChangedEvent<org.lwjgl.opengl.DisplayMode> event)
onSliderChanged
public void onSliderChanged(String id,
SliderChangedEvent sliderChangedEvent)
Copyright © 2011. All Rights Reserved.