Package dogtail :: Module predicate :: Class IsLabelledAs
[hide private]
[frames] | no frames]

Class IsLabelledAs

source code

Predicate --+
            |
           IsLabelledAs

Predicate: is this node labelled with the text string (i.e. by another node with that as a name)

Instance Methods [hide private]
 
__init__(self, labelText) source code
 
_genCompareFunc(self) source code
 
describeSearchResult(self) source code
 
makeScriptMethodCall(self, isRecursive)
Method to generate a string containing a (hopefully) readable search method call on a node (to be used when generating Python source code in the event recorder)
source code
 
makeScriptVariableName(self)
Method to generate a string containing a (hopefully) readable name for a Node instance variable that would be the result of a search on this predicate (to be used when generating Python source code in the event recorder).
source code

Inherited from Predicate: __eq__, satisfiedByNode

Method Details [hide private]

describeSearchResult(self)

source code 
Overrides: Predicate.describeSearchResult

makeScriptMethodCall(self, isRecursive)

source code 

Method to generate a string containing a (hopefully) readable search method call on a node (to be used when generating Python source code in the event recorder)

Overrides: Predicate.makeScriptMethodCall
(inherited documentation)

makeScriptVariableName(self)

source code 

Method to generate a string containing a (hopefully) readable name for a Node instance variable that would be the result of a search on this predicate (to be used when generating Python source code in the event recorder).

Overrides: Predicate.makeScriptVariableName
(inherited documentation)