Module event :: Class InputEvent
[show private | hide private]
[frames | no frames]

Class InputEvent

Event --+
        |
       InputEvent


A user input event is created whenever the user types something into their ui and it creates a user event from it.
Method Summary
  __init__(self, input, internal, ses)
Initializes the InputEvent.
  __str__(self)
This allows us to print out event objects for debugging purposes. (inherited from Event)
  enqueue(self)
This enqueues this event into the event queue. (inherited from Event)
  execute(self)
Execute.

Method Details

__init__(self, input, internal=0, ses=None)
(Constructor)

Initializes the InputEvent.
Parameters:
input - the data from the user
           (type=string)
internal - whether this is an internally generated user input. if it is internally generated then we don't record it in history. 1 if it's internal, 0 if not.
           (type=int)
ses - the session execute the input event in
           (type=session.Session)

execute(self)

Execute.

Generated by Epydoc 1.1 on Mon Apr 28 21:11:25 2003 http://epydoc.sf.net