Package brailleDisplayDrivers :: Module freedomScientific :: Class BrailleDisplayDriver
[hide private]
[frames] | no frames]

Class BrailleDisplayDriver

source code

                   object --+        
                            |        
baseObject.AutoPropertyObject --+    
                                |    
     braille.BrailleDisplayDriver --+
                                    |
                   object --+       |
                            |       |
baseObject.AutoPropertyObject --+   |
                                |   |
      baseObject.ScriptableObject --+
                                    |
                                   BrailleDisplayDriver

Nested Classes [hide private]

Inherited from baseObject.AutoPropertyObject: __metaclass__

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
terminate(self)
Terminate this display driver.
source code
int
_get_numCells(self)
Obtain the number of braille cells on this display.
source code
 
display(self, cells)
Display the given braille cells.
source code
 
script_toggleLeftWizWheelAction(self, gesture) source code
 
script_toggleRightWizWheelAction(self, gesture) source code

Inherited from baseObject.ScriptableObject: bindGesture, bindGestures, clearGestureBindings, getScript

Inherited from baseObject.AutoPropertyObject: invalidateCache

Inherited from baseObject.AutoPropertyObject (private): _getPropertyViaCache

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

Class Methods [hide private]
bool
check(cls)
Determine whether this braille display is available.
source code

Inherited from baseObject.AutoPropertyObject: invalidateCaches

Class Variables [hide private]
  name = "freedomScientific"
  description = _("Freedom Scientific Focus/PAC Mate series")
  wizWheelActions = [(_("display scroll"), ("globalCommands", "G...
  __gestures = {"br(freedomScientific):leftWizWheelPress": "togg...

Inherited from braille.BrailleDisplayDriver: gestureMap

Inherited from baseObject.AutoPropertyObject: cachePropertiesByDefault

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

check(cls)
Class Method

source code 

Determine whether this braille display is available. The display will be excluded from the list of available displays if this method returns False. For example, if this display is not present, False should be returned.

Returns: bool
True if this display is available, False if not.
Overrides: braille.BrailleDisplayDriver.check
(inherited documentation)

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

terminate(self)

source code 

Terminate this display driver. This will be called when NVDA is finished with this display driver. It should close any open connections, perform cleanup, etc. Subclasses should call the superclass method first.

Overrides: braille.BrailleDisplayDriver.terminate
(inherited documentation)

_get_numCells(self)

source code 

Obtain the number of braille cells on this display.

Returns: int
The number of cells.
Overrides: braille.BrailleDisplayDriver._get_numCells
(inherited documentation)

display(self, cells)

source code 

Display the given braille cells.

Parameters:
  • cells - The braille cells to display.
Overrides: braille.BrailleDisplayDriver.display
(inherited documentation)

Class Variable Details [hide private]

wizWheelActions

Value:
[(_("display scroll"), ("globalCommands", "GlobalCommands", "braille_s\
crollBack"), ("globalCommands", "GlobalCommands", "braille_scrollForwa\
rd")), (_("line scroll"), ("globalCommands", "GlobalCommands", "braill\
e_previousLine"), ("globalCommands", "GlobalCommands", "braille_nextLi\
ne")),]

__gestures

Value:
{"br(freedomScientific):leftWizWheelPress": "toggleLeftWizWheelAction"\
, "br(freedomScientific):rightWizWheelPress": "toggleRightWizWheelActi\
on",}