Package lyntin :: 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.
  execute(self)
Execute.
    Inherited from Event
  __str__(self)
This allows us to print out event objects for debugging purposes.
  enqueue(self)
This enqueues this event into the event queue.

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)
Overrides:
lyntin.event.Event.__init__

execute(self)

Execute.
Overrides:
lyntin.event.Event.execute

Generated by Epydoc 2.1 on Mon Aug 9 09:17:42 2004 http://epydoc.sf.net