| |
- wxPyGridTableBase(wxPyGridTableBasePtr)
-
- OOTable
-
- CollectionTable
- ObjectTable
class CollectionTable(OOTable) |
|
Allows you to manage properties of a collection of like objects
This looks like a spread-sheet with attribute editors at each
cell in the grid for the properties of individual objects. |
|
- Method resolution order:
- CollectionTable
- OOTable
- wxPyGridTableBase
- wxPyGridTableBasePtr
- wxGridTableBasePtr
- wxObjectPtr
Methods defined here:
- GetColLabelValue(self, col)
- Return column labels (property names)
- GetNumberCols(self)
- Return the number of columns (properties)
- GetNumberRows(self)
- Return the number of rows (objects)
- GetObjectForCoordinate(self, row, col)
- Return the object/client of the property at row/col
- GetPropertyForCoordinate(self, row, col)
- Return the property corresponding to row/col coordinate
- GetRowLabelValue(self, row)
- Return row labels (object index)
Methods inherited from OOTable:
- GetAdapter(self)
- Get the current adapter for the table
- GetAttr(self, row, col, someExtraParameter)
- Part of a workaround to avoid use of attributes
Queried by _PropertyGrid's IsCurrentCellReadOnly
- GetTypeName(self, row, col)
- Return the data type value for the property
- GetValue(self, row, col)
- Return the (row,col) value as a string value
Note: the conversion to string occurs in the underlying
machinery, not in the Python code.
- GetValueAsObject(self, row, col)
- Return the (row,col) value as a Python object
Note: this method is seperate from the GetValue method
because that method's support machinery auto-
converts the result to string values.
- IsEmptyCell(self, row, col)
- Determine whether the cell is "empty", to avoid both display and editing
- ResetView(self)
- Trim/extend the control's rows and update all values
- SetAdapter(self, adapter)
- Set the current adapter for the table
- SetValue(self, row, col, value)
- Set a new value for row,col as value, send property-changed events
- UpdateValues(self)
- Update all displayed values
- __init__(self, view, adapter=None)
- getGrid(self)
- getView(self)
- ### Utility methods
Data and other attributes inherited from OOTable:
- currentColumns = 1
- currentRows = 0
Methods inherited from wxPyGridTableBasePtr:
- Destroy(self, *_args, **_kwargs)
- __repr__(self)
- base_AppendCols(self, *_args, **_kwargs)
- base_AppendRows(self, *_args, **_kwargs)
- base_CanGetValueAs(self, *_args, **_kwargs)
- base_CanHaveAttributes(self, *_args, **_kwargs)
- base_CanSetValueAs(self, *_args, **_kwargs)
- base_Clear(self, *_args, **_kwargs)
- base_DeleteCols(self, *_args, **_kwargs)
- base_DeleteRows(self, *_args, **_kwargs)
- base_GetAttr(self, *_args, **_kwargs)
- base_GetColLabelValue(self, *_args, **_kwargs)
- base_GetRowLabelValue(self, *_args, **_kwargs)
- base_GetTypeName(self, *_args, **_kwargs)
- base_InsertCols(self, *_args, **_kwargs)
- base_InsertRows(self, *_args, **_kwargs)
- base_SetAttr(self, *_args, **_kwargs)
- base_SetColAttr(self, *_args, **_kwargs)
- base_SetColLabelValue(self, *_args, **_kwargs)
- base_SetRowAttr(self, *_args, **_kwargs)
- base_SetRowLabelValue(self, *_args, **_kwargs)
Methods inherited from wxGridTableBasePtr:
- AppendCols(self, *_args, **_kwargs)
- AppendRows(self, *_args, **_kwargs)
- CanGetValueAs(self, *_args, **_kwargs)
- CanHaveAttributes(self, *_args, **_kwargs)
- CanSetValueAs(self, *_args, **_kwargs)
- Clear(self, *_args, **_kwargs)
- DeleteCols(self, *_args, **_kwargs)
- DeleteRows(self, *_args, **_kwargs)
- GetAttrProvider(self, *_args, **_kwargs)
- GetValueAsBool(self, *_args, **_kwargs)
- GetValueAsDouble(self, *_args, **_kwargs)
- GetValueAsLong(self, *_args, **_kwargs)
- GetView(self, *_args, **_kwargs)
- InsertCols(self, *_args, **_kwargs)
- InsertRows(self, *_args, **_kwargs)
- SetAttr(self, *_args, **_kwargs)
- SetAttrProvider(self, *_args, **_kwargs)
- SetColAttr(self, *_args, **_kwargs)
- SetColLabelValue(self, *_args, **_kwargs)
- SetRowAttr(self, *_args, **_kwargs)
- SetRowLabelValue(self, *_args, **_kwargs)
- SetValueAsBool(self, *_args, **_kwargs)
- SetValueAsDouble(self, *_args, **_kwargs)
- SetValueAsLong(self, *_args, **_kwargs)
- SetView(self, *_args, **_kwargs)
Methods inherited from wxObjectPtr:
- GetClassName(self, *_args, **_kwargs)
|
class OOTable(wxPyGridTableBase) |
|
(Virtual) Base class for object-oriented tables |
|
- Method resolution order:
- OOTable
- wxPyGridTableBase
- wxPyGridTableBasePtr
- wxGridTableBasePtr
- wxObjectPtr
Methods defined here:
- GetAdapter(self)
- Get the current adapter for the table
- GetAttr(self, row, col, someExtraParameter)
- Part of a workaround to avoid use of attributes
Queried by _PropertyGrid's IsCurrentCellReadOnly
- GetObjectForCoordinate(self, row, col)
- Return the object corresponding to row/col coordinate
- GetPropertyForCoordinate(self, row, col)
- Return the property corresponding to row/col coordinate
- GetTypeName(self, row, col)
- Return the data type value for the property
- GetValue(self, row, col)
- Return the (row,col) value as a string value
Note: the conversion to string occurs in the underlying
machinery, not in the Python code.
- GetValueAsObject(self, row, col)
- Return the (row,col) value as a Python object
Note: this method is seperate from the GetValue method
because that method's support machinery auto-
converts the result to string values.
- IsEmptyCell(self, row, col)
- Determine whether the cell is "empty", to avoid both display and editing
- ResetView(self)
- Trim/extend the control's rows and update all values
- SetAdapter(self, adapter)
- Set the current adapter for the table
- SetValue(self, row, col, value)
- Set a new value for row,col as value, send property-changed events
- UpdateValues(self)
- Update all displayed values
- __init__(self, view, adapter=None)
- getGrid(self)
- getView(self)
- ### Utility methods
Data and other attributes defined here:
- currentColumns = 1
- currentRows = 0
Methods inherited from wxPyGridTableBasePtr:
- Destroy(self, *_args, **_kwargs)
- __repr__(self)
- base_AppendCols(self, *_args, **_kwargs)
- base_AppendRows(self, *_args, **_kwargs)
- base_CanGetValueAs(self, *_args, **_kwargs)
- base_CanHaveAttributes(self, *_args, **_kwargs)
- base_CanSetValueAs(self, *_args, **_kwargs)
- base_Clear(self, *_args, **_kwargs)
- base_DeleteCols(self, *_args, **_kwargs)
- base_DeleteRows(self, *_args, **_kwargs)
- base_GetAttr(self, *_args, **_kwargs)
- base_GetColLabelValue(self, *_args, **_kwargs)
- base_GetRowLabelValue(self, *_args, **_kwargs)
- base_GetTypeName(self, *_args, **_kwargs)
- base_InsertCols(self, *_args, **_kwargs)
- base_InsertRows(self, *_args, **_kwargs)
- base_SetAttr(self, *_args, **_kwargs)
- base_SetColAttr(self, *_args, **_kwargs)
- base_SetColLabelValue(self, *_args, **_kwargs)
- base_SetRowAttr(self, *_args, **_kwargs)
- base_SetRowLabelValue(self, *_args, **_kwargs)
Methods inherited from wxGridTableBasePtr:
- AppendCols(self, *_args, **_kwargs)
- AppendRows(self, *_args, **_kwargs)
- CanGetValueAs(self, *_args, **_kwargs)
- CanHaveAttributes(self, *_args, **_kwargs)
- CanSetValueAs(self, *_args, **_kwargs)
- Clear(self, *_args, **_kwargs)
- DeleteCols(self, *_args, **_kwargs)
- DeleteRows(self, *_args, **_kwargs)
- GetAttrProvider(self, *_args, **_kwargs)
- GetColLabelValue(self, *_args, **_kwargs)
- GetNumberCols(self, *_args, **_kwargs)
- GetNumberRows(self, *_args, **_kwargs)
- GetRowLabelValue(self, *_args, **_kwargs)
- GetValueAsBool(self, *_args, **_kwargs)
- GetValueAsDouble(self, *_args, **_kwargs)
- GetValueAsLong(self, *_args, **_kwargs)
- GetView(self, *_args, **_kwargs)
- InsertCols(self, *_args, **_kwargs)
- InsertRows(self, *_args, **_kwargs)
- SetAttr(self, *_args, **_kwargs)
- SetAttrProvider(self, *_args, **_kwargs)
- SetColAttr(self, *_args, **_kwargs)
- SetColLabelValue(self, *_args, **_kwargs)
- SetRowAttr(self, *_args, **_kwargs)
- SetRowLabelValue(self, *_args, **_kwargs)
- SetValueAsBool(self, *_args, **_kwargs)
- SetValueAsDouble(self, *_args, **_kwargs)
- SetValueAsLong(self, *_args, **_kwargs)
- SetView(self, *_args, **_kwargs)
Methods inherited from wxObjectPtr:
- GetClassName(self, *_args, **_kwargs)
|
class ObjectTable(OOTable) |
|
A Property Table controls a PropertySet's binding to a single object
Basically, this looks like a VB property panel, or fairly close.
It accesses the objects using the propertydescriptors's, which,
in turn, normally use the underlying property objects for accessing
the particular object attributes. |
|
- Method resolution order:
- ObjectTable
- OOTable
- wxPyGridTableBase
- wxPyGridTableBasePtr
- wxGridTableBasePtr
- wxObjectPtr
Methods defined here:
- GetColLabelValue(self, col)
- GetNumberCols(self)
- Return the number of cols (objects)
- GetNumberRows(self)
- Return the number of rows (properties)
- GetObjectForCoordinate(self, row, col)
- Return the object/client of the property at row/col
- GetPropertyForCoordinate(self, row, col)
- Return the property corresponding to row/col coordinate
- GetRowLabelValue(self, row)
Methods inherited from OOTable:
- GetAdapter(self)
- Get the current adapter for the table
- GetAttr(self, row, col, someExtraParameter)
- Part of a workaround to avoid use of attributes
Queried by _PropertyGrid's IsCurrentCellReadOnly
- GetTypeName(self, row, col)
- Return the data type value for the property
- GetValue(self, row, col)
- Return the (row,col) value as a string value
Note: the conversion to string occurs in the underlying
machinery, not in the Python code.
- GetValueAsObject(self, row, col)
- Return the (row,col) value as a Python object
Note: this method is seperate from the GetValue method
because that method's support machinery auto-
converts the result to string values.
- IsEmptyCell(self, row, col)
- Determine whether the cell is "empty", to avoid both display and editing
- ResetView(self)
- Trim/extend the control's rows and update all values
- SetAdapter(self, adapter)
- Set the current adapter for the table
- SetValue(self, row, col, value)
- Set a new value for row,col as value, send property-changed events
- UpdateValues(self)
- Update all displayed values
- __init__(self, view, adapter=None)
- getGrid(self)
- getView(self)
- ### Utility methods
Data and other attributes inherited from OOTable:
- currentColumns = 1
- currentRows = 0
Methods inherited from wxPyGridTableBasePtr:
- Destroy(self, *_args, **_kwargs)
- __repr__(self)
- base_AppendCols(self, *_args, **_kwargs)
- base_AppendRows(self, *_args, **_kwargs)
- base_CanGetValueAs(self, *_args, **_kwargs)
- base_CanHaveAttributes(self, *_args, **_kwargs)
- base_CanSetValueAs(self, *_args, **_kwargs)
- base_Clear(self, *_args, **_kwargs)
- base_DeleteCols(self, *_args, **_kwargs)
- base_DeleteRows(self, *_args, **_kwargs)
- base_GetAttr(self, *_args, **_kwargs)
- base_GetColLabelValue(self, *_args, **_kwargs)
- base_GetRowLabelValue(self, *_args, **_kwargs)
- base_GetTypeName(self, *_args, **_kwargs)
- base_InsertCols(self, *_args, **_kwargs)
- base_InsertRows(self, *_args, **_kwargs)
- base_SetAttr(self, *_args, **_kwargs)
- base_SetColAttr(self, *_args, **_kwargs)
- base_SetColLabelValue(self, *_args, **_kwargs)
- base_SetRowAttr(self, *_args, **_kwargs)
- base_SetRowLabelValue(self, *_args, **_kwargs)
Methods inherited from wxGridTableBasePtr:
- AppendCols(self, *_args, **_kwargs)
- AppendRows(self, *_args, **_kwargs)
- CanGetValueAs(self, *_args, **_kwargs)
- CanHaveAttributes(self, *_args, **_kwargs)
- CanSetValueAs(self, *_args, **_kwargs)
- Clear(self, *_args, **_kwargs)
- DeleteCols(self, *_args, **_kwargs)
- DeleteRows(self, *_args, **_kwargs)
- GetAttrProvider(self, *_args, **_kwargs)
- GetValueAsBool(self, *_args, **_kwargs)
- GetValueAsDouble(self, *_args, **_kwargs)
- GetValueAsLong(self, *_args, **_kwargs)
- GetView(self, *_args, **_kwargs)
- InsertCols(self, *_args, **_kwargs)
- InsertRows(self, *_args, **_kwargs)
- SetAttr(self, *_args, **_kwargs)
- SetAttrProvider(self, *_args, **_kwargs)
- SetColAttr(self, *_args, **_kwargs)
- SetColLabelValue(self, *_args, **_kwargs)
- SetRowAttr(self, *_args, **_kwargs)
- SetRowLabelValue(self, *_args, **_kwargs)
- SetValueAsBool(self, *_args, **_kwargs)
- SetValueAsDouble(self, *_args, **_kwargs)
- SetValueAsLong(self, *_args, **_kwargs)
- SetView(self, *_args, **_kwargs)
Methods inherited from wxObjectPtr:
- GetClassName(self, *_args, **_kwargs)
| |