Package application :: Package dialogs :: Module TimeZoneList :: Class TimezoneTable
[hide private]
[frames] | no frames]

Class TimezoneTable

source code

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

Instance Methods [hide private]
 
__init__(self, view, grid)
Returns: PyGridTableBase
source code
 
GetNumberCols(self)
Returns: int
source code
 
GetNumberRows(self)
Returns: int
source code
 
GetValue(self, row, col)
GetValue(self, int row, int col) -> String
source code
 
Toggle(self, row) source code
 
GetColLabelValue(self, col)
GetColLabelValue(self, int col) -> String
source code
 
GetTypeName(self, row, col)
GetTypeName(self, int row, int col) -> String
source code
 
setRows(self, expanded=True)
Create self.data, rows with columns in sort order.
source code
 
ResetGrid(self, oldNumRows)
Call this to update the grid if rows and columns have been added or deleted.
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, GetColLabelBitmap, GetRowLabelValue, GetValueAsBool, GetValueAsDouble, GetValueAsLong, GetView, InsertCols, InsertRows, IsEmptyCell, SetAttr, SetAttrProvider, SetColAttr, SetColLabelBitmap, 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__

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, view, grid)
(Constructor)

source code 
Returns:
PyGridTableBase

Overrides: wx.grid.PyGridTableBase.__init__
(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)

GetValue(self, row, col)

source code 
GetValue(self, int row, int col) -> String
Overrides: wx.grid.GridTableBase.GetValue
(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)

setRows(self, expanded=True)

source code 

Create self.data, rows with columns in sort order.

Reordering to sort order allows bisect.insort to do binary search sorted insertion for us.

If expanded is set, all column