Package reflectometry :: Package model1d :: Package tableview :: Module customConstrainViewer :: Class CustomConstrainTable

Class CustomConstrainTable

source code


Table to show the parameter constrains only
Instance Methods
PyGridTableBase
__init__(self)
Constructor.
source code
 
setEmptyLists(self) source code
 
getNames4Names(self, name) source code
 
getColByVarName(self, VarName) source code
 
getRowByLayerName(self, layerName) source code
 
findRowCol(self, var) source code
 
findRowColByName(self, name) source code
 
setRoughFormat(self, fmt=False) source code
 
getRoughFormat(self) source code
 
setReflFormat(self, fmt=False) source code
 
getReflFormat(self) source code
 
SetEditMode(self, editMode=True)
The table is not editable.
source code
 
IsEditMode(self)
Return True if it is in the edit mode.
source code
 
getModelName(self) source code
 
getFmtTable(self) source code
 
setHideParameters(self)
In varaiable List, we have some hidden parameters.
source code
 
getNames4Var(self, var) source code
 
SetMultiplexor(self, xor, modelName)
Set the multiplexor.
source code
 
GetMultiplexor(self)
Return the multiplexor for the fitting.
source code
 
GetXmlVariables(self)
Return the XmlVariables for the fitting.
source code
int
GetNumberRows(self)
Return number of rows in the table.
source code
int
GetNumberCols(self)
Return number of columns in the table
source code
 
toRoughFormat(self, value) source code
 
toReflFormat(self, value) source code
 
GetValue(self, row, col)
Return the value for the cell (row, col)
source code
 
GetColLabelValue(self, col)
Return the column label string.
source code
 
GetRowLabelValue(self, row)
Return the row label string.
source code

Inherited from wx.grid.PyGridTableBase: Destroy, __repr__

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

Inherited from wx._core.Object: GetClassName, IsSameAs

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

Class Variables

Inherited from wx.grid.PyGridTableBase: 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, thisown

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

Inherited from wx._core.Object: ClassName

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 
Constructor.
Returns: PyGridTableBase
Overrides: object.__init__

SetMultiplexor(self, xor, modelName)

source code 
Set the multiplexor. The constrain and variable are defined in multiplexor.

GetNumberRows(self)

source code 
Return number of rows in the table.
Returns: int
Overrides: wx.grid.GridTableBase.GetNumberRows

GetNumberCols(self)

source code 
Return number of columns in the table
Returns: int
Overrides: wx.grid.GridTableBase.GetNumberCols

GetValue(self, row, col)

source code 
Return the value for the cell (row, col)
Overrides: wx.grid.GridTableBase.GetValue

GetColLabelValue(self, col)

source code 
Return the column label string.
Overrides: wx.grid.GridTableBase.GetColLabelValue

GetRowLabelValue(self, row)

source code 
Return the row label string.
Overrides: wx.grid.GridTableBase.GetRowLabelValue