Module phonebook :: Class ImportDataTable
[hide private]
[frames] | no frames]

Class ImportDataTable

source code

       object --+            
                |            
  wx._core.Object --+        
                    |        
wx.grid.GridTableBase --+    
                        |    
  wx.grid.PyGridTableBase --+
                            |
                           ImportDataTable

Instance Methods [hide private]
PyGridTableBase
__init__(self, widget)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
GetRowData(self, row)
Returns a 4 part tuple as defined in ImportDialog.rowdata for the numbered row
source code
 
GetColLabelValue(self, col)
Returns the label for the numbered column
source code
 
IsEmptyCell(self, row, col)
IsEmptyCell(self, int row, int col) -> bool
source code
int
GetNumberCols(self) source code
int
GetNumberRows(self) source code
 
GetRowType(self, row)
Returns what type the row is from DELETED, CHANGED, ADDED and UNALTERED
source code
 
GetValueWithNamedColumn(self, row, columnname) source code
 
ShouldColumnBeShown(self, columnname, row) source code
 
GetHtmlCellValue(self, row, col, colour=None) source code
 
OnDataUpdated(*args, **kwargs) source code

Inherited from wx.grid.PyGridTableBase: Destroy, __repr__, base_AppendCols, base_AppendRows, base_CanGetValueAs, base_CanHaveAttributes, base_CanSetValueAs, base_Clear, base_DeleteCols, base_DeleteRows, base_GetAttr, base_GetColLabelValue, base_GetRowLabelValue, base_GetTypeName, base_InsertCols, base_InsertRows, base_SetAttr, base_SetColAttr, base_SetColLabelValue, base_SetRowAttr, base_SetRowLabelValue

Inherited from wx.grid.PyGridTableBase (private): _setCallbackInfo

Inherited from wx.grid.GridTableBase: AppendCols, AppendRows, CanGetValueAs, CanHaveAttributes, CanSetValueAs, Clear, DeleteCols, DeleteRows, GetAttr, GetAttrProvider, GetRowLabelValue, GetTypeName, GetValue, GetValueAsBool, GetValueAsDouble, GetValueAsLong, GetView, InsertCols, InsertRows, SetAttr, SetAttrProvider, SetColAttr, SetColLabelValue, SetRowAttr, SetRowLabelValue, SetValue, SetValueAsBool, SetValueAsDouble, SetValueAsLong, SetView, __del__, __swig_destroy__

Inherited from wx.grid.GridTableBase (private): _setOORInfo

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  ADDED = 0
  UNALTERED = 1
  CHANGED = 2
  DELETED = 3
  htmltemplate = ['<font color="%(colour)s">%(result)s</font>', ...
  i = 14
Properties [hide private]

Inherited from wx.grid.PyGridTableBase: thisown

Inherited from wx.grid.GridTableBase: AttrProvider, NumberCols, NumberRows, View

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self, widget)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns: PyGridTableBase
Overrides: object.__init__
(inherited documentation)

GetColLabelValue(self, col)

source code 

Returns the label for the numbered column

Overrides: wx.grid.GridTableBase.GetColLabelValue

IsEmptyCell(self, row, col)

source code 

IsEmptyCell(self, int row, int col) -> bool

Overrides: wx.grid.GridTableBase.IsEmptyCell
(inherited documentation)

GetNumberCols(self)

source code 
Returns: int
Overrides: wx.grid.GridTableBase.GetNumberCols
(inherited documentation)

GetNumberRows(self)

source code 
Returns: int
Overrides: wx.grid.GridTableBase.GetNumberRows
(inherited documentation)

OnDataUpdated(*args, **kwargs)

source code 
Decorators:
  • @guihelper.BusyWrapper

Class Variable Details [hide private]

htmltemplate

Value:
['<font color="%(colour)s">%(result)s</font>',
 '<font color="%(colour)s"><strike>%(result)s</strike><br><b><font siz\
e=-1>Existing</font></b> %(existing)s</font>',
 '<font color="%(colour)s"><strike>%(result)s</strike></font>',
 '<font color="%(colour)s"><strike>%(result)s</strike><br><b><font siz\
e=-1>Imported</font></b> %(imported)s</font>',
 '<font color="%(colour)s">%(result)s</font>',
 '<font color="%(colour)s"><strike><font color="#00aa00">%(result)s</f\
...