Package muntjac :: Package data :: Module item :: Class IViewer
[hide private]
[frames] | no frames]

Class IViewer

source code

object --+
         |
        IViewer
Known Subclasses:

Interface implemented by viewer classes capable of using an IItem as a data source.

Instance Methods [hide private]
 
setItemDataSource(self, newDataSource)
Sets the IItem that serves as the data source of the viewer.
source code
 
getItemDataSource(self)
Gets the IItem serving as the data source of the viewer.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setItemDataSource(self, newDataSource)

source code 

Sets the IItem that serves as the data source of the viewer.

Parameters:
  • newDataSource - The new data source IItem

getItemDataSource(self)

source code 

Gets the IItem serving as the data source of the viewer.

Returns:
data source IItem