de.lessvoid.nifty.examples.test
Class ChatPanelController

java.lang.Object
  extended by de.lessvoid.nifty.examples.test.ChatPanelController
All Implemented Interfaces:
Controller, KeyInputHandler

public class ChatPanelController
extends Object
implements Controller, KeyInputHandler


Field Summary
static Element chatField
           
 
Constructor Summary
ChatPanelController()
           
 
Method Summary
 void bind(Nifty niftyParam, Screen screenParam, Element newElement, Properties properties, Attributes controlDefinitionAttributes)
           
 void init(Properties parameter, Attributes controlDefinitionAttributes)
           
 boolean inputEvent(NiftyInputEvent inputEvent)
           
 boolean keyEvent(NiftyInputEvent arg0)
           
 void onFocus(boolean getFocus)
           
 void onStartScreen()
           
 void removePanel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chatField

public static Element chatField
Constructor Detail

ChatPanelController

public ChatPanelController()
Method Detail

bind

public void bind(Nifty niftyParam,
                 Screen screenParam,
                 Element newElement,
                 Properties properties,
                 Attributes controlDefinitionAttributes)
Specified by:
bind in interface Controller

init

public void init(Properties parameter,
                 Attributes controlDefinitionAttributes)
Specified by:
init in interface Controller

onStartScreen

public void onStartScreen()
Specified by:
onStartScreen in interface Controller

onFocus

public void onFocus(boolean getFocus)
Specified by:
onFocus in interface Controller

inputEvent

public boolean inputEvent(NiftyInputEvent inputEvent)
Specified by:
inputEvent in interface Controller

removePanel

public void removePanel()

keyEvent

public boolean keyEvent(NiftyInputEvent arg0)
Specified by:
keyEvent in interface KeyInputHandler


Copyright © 2011. All Rights Reserved.