Package parpg :: Package common :: Package listeners :: Module command_listener :: Class CommandListener
[hide private]
[frames] | no frames]

Class CommandListener

source code

object --+
         |
        CommandListener

Base class for listeners that receiving command events

Instance Methods [hide private]
 
__init__(self, event_listener)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
attach(self, event_listener)
Attaches the listener to the event
source code
 
detach(self)
Detaches the listener from the event
source code
 
onCommand(self, command)
Called when a command is executed
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, event_listener)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)