Package empro :: Package toolkit :: Package via_designer :: Module undo_redo :: Class TableObserver
[frames] | no frames]

Class TableObserver

AbstractObserver --+
                   |
                  TableObserver
Known Subclasses:

Instance Methods
 
__init__(self, table, undoRedoStack, name='Table', defaultCellValue='0 mil')
 
getValue(self)
 
refresh(self, name)
Should be called when the table is updated and postEdit is not called.
 
registerEndOfAction(self)
 
setValue(self, valueVector)

Inherited from AbstractObserver: callOnUpdate, initState, redo, undo

Method Details

__init__(self, table, undoRedoStack, name='Table', defaultCellValue='0 mil')
(Constructor)

 
Overrides: AbstractObserver.__init__

getValue(self)

 
Overrides: AbstractObserver.getValue

refresh(self, name)

 

Should be called when the table is updated and postEdit is not called. This happens, e.g., when another substrate is selected.

setValue(self, valueVector)

 
Overrides: AbstractObserver.setValue