Back to index

plone3  3.1.7
Public Member Functions
kss.core.plugins.core.demo.coreplugin.demoview.KSSDemoView Class Reference
Inheritance diagram for kss.core.plugins.core.demo.coreplugin.demoview.KSSDemoView:
Inheritance graph
[legend]
Collaboration diagram for kss.core.plugins.core.demo.coreplugin.demoview.KSSDemoView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def keyEvent

Detailed Description

Definition at line 22 of file demoview.py.


Member Function Documentation

XXX

Definition at line 25 of file demoview.py.

00025 
00026     def keyEvent(self, keycode):
00027         """XXX"""
00028         keycode = int(keycode)
00029         message = "Keycode: [%i]" % (keycode, )
00030         key = chr(keycode)
00031         if key.isalnum():
00032             message += ', Alpanumeric:"%s"' % (key, )
00033         core = self.getCommandSet('core')
00034         selector = core.getHtmlIdSelector('target')
00035         core.replaceInnerHTML(selector, message)

Here is the call graph for this function:


The documentation for this class was generated from the following file: