Package horizons :: Package gui :: Package keylisteners :: Module mainlistener :: Class MainListener
[hide private]
[frames] | no frames]

Class MainListener

source code

                object --+    
                         |    
    fife.fife.IKeyListener --+
                             |
                object --+   |
                         |   |
fife.fife.ICommandListener --+
                             |
  util.living.LivingObject --+
                             |
                            MainListener

MainListener Class to process events of main window

Instance Methods [hide private]
 
__init__(self, gui)
__init__(FIFE::IKeyListener self) -> IKeyListener
source code
 
end(self)
Put all the code the object needs to end safely here.
source code
 
keyPressed(self, evt)
keyPressed(IKeyListener self, KeyEvent evt)
source code
 
keyReleased(self, evt)
keyReleased(IKeyListener self, KeyEvent evt)
source code
 
onCommand(self, command)
onCommand(ICommandListener self, Command command)
source code

Inherited from fife.fife.IKeyListener: __disown__, __repr__

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

Class Variables [hide private]

Inherited from fife.fife.IKeyListener: __del__, __swig_destroy__, thisown

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, gui)
(Constructor)

source code 

__init__(FIFE::IKeyListener self) -> IKeyListener

Overrides: object.__init__
(inherited documentation)

end(self)

source code 

Put all the code the object needs to end safely here. Make sure it always contains the super(YOUROBJECT, self).end() call, to ensure all parentobjects are deinited correctly.

Overrides: util.living.LivingObject.end
(inherited documentation)

keyPressed(self, evt)

source code 

keyPressed(IKeyListener self, KeyEvent evt)

Overrides: fife.fife.IKeyListener.keyPressed
(inherited documentation)

keyReleased(self, evt)

source code 

keyReleased(IKeyListener self, KeyEvent evt)

Overrides: fife.fife.IKeyListener.keyReleased
(inherited documentation)

onCommand(self, command)

source code 

onCommand(ICommandListener self, Command command)

Overrides: fife.fife.ICommandListener.onCommand
(inherited documentation)