Package gui :: Package analyses :: Module auto_model_free :: Class Local_tm_list
[hide private]
[frames] | no frames]

Class Local_tm_list

source code

The model-free model list GUI element.

Instance Methods [hide private]
 
__init__(self, parent, box)
Build the combo box list widget for a list of list selections.
source code
 
Enable(self, enable=True)
Enable or disable the element.
source code
list of str
GetValue(self)
Return the list of model-free models.
source code
 
set_value(self, value)
Store the list of model-free models.
source code
 
modify(self, event=None)
Modify the model-free model selection.
source code
 
update_button(self)
Update the button bitmap as needed.
source code
Class Variables [hide private]
  desc = u'Local \u03C4m models:'
  models = ["tm0", "tm1", "tm2", "tm3", "tm4", "tm5", "tm6", "tm...
  params = ["{local_tm}", "{local_tm, S2}", "{local_tm, S2, te}"...
Method Details [hide private]

__init__(self, parent, box)
(Constructor)

source code 

Build the combo box list widget for a list of list selections.

Parameters:
  • parent (wx object instance) - The parent GUI element.
  • box (wx.Sizer instance) - The sizer to put the combo box widget into.

Enable(self, enable=True)

source code 

Enable or disable the element.

Parameters:
  • enable (bool) - The flag specifying if the element should be enabled or disabled.

GetValue(self)

source code 

Return the list of model-free models.

Returns: list of str
The list of model-free models.

set_value(self, value)

source code 

Store the list of model-free models.

Parameters:
  • value (list of str) - The list of model-free models.

modify(self, event=None)

source code 

Modify the model-free model selection.

Parameters:
  • event (wx event) - The wx event.

Class Variable Details [hide private]

models

Value:
["tm0", "tm1", "tm2", "tm3", "tm4", "tm5", "tm6", "tm7", "tm8", "tm9"]

params

Value:
["{local_tm}", "{local_tm, S2}", "{local_tm, S2, te}", "{local_tm, S2,\
 Rex}", "{local_tm, S2, te, Rex}", "{local_tm, S2, S2f, ts}", "{local_\
tm, S2, tf, S2f, ts}", "{local_tm, S2, S2f, ts, Rex}", "{local_tm, S2,\
 tf, S2f, ts, Rex}", "{local_tm, Rex}"]