rag
graphic 2d engine
Classes
events Namespace Reference

Base class for event system. More...

Classes

class  Event
 
class  EventDispatcher
 EventDispatcher Base class used to dispatch events. More...
 
class  EventListener
 Interface that allows to listen events. More...
 
class  KeyboardEvent
 Event to handle KeyBoard actions. More...
 
class  TextEvent
 Dispatched by InputText when user writes one character. More...
 
class  TouchEvent
 Event for handle input from screen. More...
 

Detailed Description

Base class for event system.

When an event is triggered, it is processed this way: The display list is travelled from leafs to stage (AKA root). The propagation stops when the root is reached or when a node with the property 'captureInput' set to true is traversed.