Module bpcalendar :: Class MergeDataTable
[hide private]
[frames] | no frames]

Class MergeDataTable

source code

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

Instance Methods [hide private]
PyGridTableBase
__init__(self, olddata, newdata)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_generate_table(self) source code
 
_merge(self) source code
 
_replace(self) source code
 
get(self, merge=False) source code
int
GetNumberRows(self) source code
int
GetNumberCols(self) source code
 
IsEmptyCell(self, row, col)
IsEmptyCell(self, int row, int col) -> bool
source code
 
GetValue(self, row, col)
GetValue(self, int row, int col) -> String
source code
 
SetValue(self, row, col, value)
SetValue(self, int row, int col, String value)
source code
 
GetColLabelValue(self, col)
GetColLabelValue(self, int col) -> String
source code
 
IsReadOnlyCell(self, row, col) source code
 
GetAlignments(self, row, col) source code
 
GetTypeName(self, row, col)
GetTypeName(self, int row, int col) -> String
source code
 
CanGetValueAs(self, row, col, typeName)
CanGetValueAs(self, int row, int col, String typeName) -> bool
source code
 
CanSetValueAs(self, row, col, typeName)
CanSetValueAs(self, int row, int col, String typeName) -> bool
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, CanHaveAttributes, Clear, DeleteCols, DeleteRows, GetAttr, GetAttrProvider, GetRowLabelValue, GetValueAsBool, GetValueAsDouble, GetValueAsLong, GetView, InsertCols, InsertRows, SetAttr, SetAttrProvider, SetColAttr, SetColLabelValue, SetRowAttr, SetRowLabelValue, 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]
  _cols_attrs = ({'alignment': (0, 2304), 'label': 'Description'...
  _desc_index = 0
  _start_index = 1
  _changed_index = 2
  _new_index = 3
  _ignore_index = 4
  _details_index = 5
  _key_index = 6
  _similar_key_index = 7
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, olddata, newdata)
(Constructor)

source code 

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

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

GetNumberRows(self)

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

GetNumberCols(self)

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

IsEmptyCell(self, row, col)

source code 

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

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

GetValue(self, row, col)

source code 

GetValue(self, int row, int col) -> String

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

SetValue(self, row, col, value)

source code 

SetValue(self, int row, int col, String value)

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

GetColLabelValue(self, col)

source code 

GetColLabelValue(self, int col) -> String

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

GetTypeName(self, row, col)

source code 

GetTypeName(self, int row, int col) -> String

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

CanGetValueAs(self, row, col, typeName)

source code 

CanGetValueAs(self, int row, int col, String typeName) -> bool

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

CanSetValueAs(self, row, col, typeName)

source code 

CanSetValueAs(self, int row, int col, String typeName) -> bool

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

Class Variable Details [hide private]

_cols_attrs

Value:
({'alignment': (0, 2304),
  'label': 'Description',
  'readonly': True,
  'type': 'string'},
 {'alignment': (0, 2304),
  'label': 'Start',
  'readonly': True,
  'type': 'string'},
...