Class CTutorial2

  extended bycrystalspace.jbind.tutorial.CTutorial2
All Implemented Interfaces:
iEventHandler, iJPointer

public class CTutorial2
extends java.lang.Object
implements iEventHandler

qan To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Constructor Summary
CTutorial2(iObjectRegistry object_reg)
Method Summary
 boolean handleEvent(iEvent event)
          This is the basic event handling function.
 boolean initialize()
static void main(java.lang.String[] argv)
 void start()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CTutorial2(iObjectRegistry object_reg)
Method Detail


public boolean initialize()


public void start()


public static void main(java.lang.String[] argv)


public boolean handleEvent(iEvent event)
Description copied from interface: iEventHandler
This is the basic event handling function. To receive events, a component must implement iEventHandler and register with an event queue using iEventQueue::RegisterListener(). The event handler should return true if the event was handled. Returning true prevents the event from being passed along to other event handlers. If the event was not handled, then false should be returned, in which case other event handlers are given a shot at the event. Note that broadcast events are sent to all handlers which are interested in them regardless of the return value of this method. NOTE: Do _not_ return true unless you really handled the event and want event dispatch to stop at your handler. Implemented in csEngine::EventHandler, csBaseEventHandler, csKeyboardDriver::eiEventHandler, csMouseDriver::eiEventHandler, csJoystickDriver::eiEventHandler, csApp::csAppPlugin::eiEventHandler, csMovieRecorder::EventHandler, and csPGInputHandler.

Specified by:
handleEvent in interface iEventHandler
event -