Package textInfos :: Class Bookmark
[hide private]
[frames] | no frames]

Class Bookmark

source code

                   object --+    
                            |    
baseObject.AutoPropertyObject --+
                                |
                               Bookmark

Represents a static absolute position in some text. This is used to construct a TextInfo at an exact previously obtained position.

Nested Classes [hide private]

Inherited from baseObject.AutoPropertyObject: __metaclass__

Instance Methods [hide private]
 
__init__(self, infoClass, data)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code

Inherited from baseObject.AutoPropertyObject: invalidateCache

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

Class Methods [hide private]

Inherited from baseObject.AutoPropertyObject: invalidateCaches

Class Variables [hide private]

Inherited from baseObject.AutoPropertyObject: cachePropertiesByDefault

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, infoClass, data)
(Constructor)

source code 

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

Parameters:
  • infoClass (type; subclass of TextInfo) - The class of the TextInfo object.
  • data - Data that can be used to reconstruct the position the textInfo object was in when it generated the bookmark.
Overrides: object.__init__