orca.presentation_manager (version 1533, $Date$)
index
/usr/lib/python2.5/site-packages/orca/presentation_manager.py

Provides the PresentationManager class for Orca.

 
Classes
       
PresentationManager

 
class PresentationManager
    High level manager for reacting to user input events and
presenting information to the user.
 
  Methods defined here:
activate(self)
Called when this presentation manager is activated.
deactivate(self)
Called when this presentation manager is deactivated.
locusOfFocusChanged(self, event, oldLocusOfFocus, newLocusOfFocus)
Called when the visual object with focus changes.
 
Arguments:
- event: if not None, the Event that caused the change
- oldLocusOfFocus: Accessible that is the old locus of focus
- newLocusOfFocus: Accessible that is the new locus of focus
processBrailleEvent(self, brailleEvent)
Called when keys or buttons are pressed on the Braille display.
 
Arguments:
- brailleEvent: an instance of input_event.BrailleEvent
 
Returns True if the command was consumed; otherwise False
processKeyboardEvent(self, keyboardEvent)
Called when a key is pressed on the keyboard.
 
Arguments:
- keyboardEvent: an instance of input_event.KeyboardEvent
 
Returns True if the event should be consumed.
visualAppearanceChanged(self, event, obj)
Called when the visual appearance of an object changes.
This method should not be called for objects whose visual
appearance changes solely because of focus -- locusOfFocusChanged
is used for that.  Instead, it is intended mostly for objects
whose notional 'value' has changed, such as a checkbox changing
state, a progress bar advancing, a slider moving, text inserted,
caret moved, etc.
 
Arguments:
- event: if not None, the Event that caused this to happen
- obj: the Accessible whose visual appearance changed.

 
Data
        __copyright__ = 'Copyright (c) 2005-2006 Sun Microsystems Inc.'
__date__ = '$Date$'
__id__ = '$Id$'
__license__ = 'LGPL'
__version__ = '$Revision$'