SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
dialog.displaymodel.DisplayModelList Class Reference

This should always be constructed by the dialog. More...

Methods defined here:

def AddCleanup
def AddRule
def Get
def GetList
def Has
def HoldRules
def IsMixed
def internal
def Reset
def ResumeRules
def internal
def internal
def SetAll
def internal
def __build_storage__
def __init__
def display_model
def finishoperation

Detailed Description

This should always be constructed by the dialog.

It's largely for internal use but you may find it helpful in implementing some more complex widgets.

You'll find one of these attached to the .display property of an active ModelRoot.

Constructor & Destructor Documentation

def dialog.displaymodel.DisplayModelList.__init__ (   args)
 __init__(args)

Member Function Documentation

def dialog.displaymodel.DisplayModelList.__build_storage__ (   args)
 __build_storage__(args)
def dialog.displaymodel.DisplayModelList.AddCleanup (   args)
 This method is for internal use.
def dialog.displaymodel.DisplayModelList.AddRule (   args)
 Internal use.
def dialog.displaymodel.DisplayModelList.display_model (   args)
 For internal use.
def dialog.displaymodel.DisplayModelList.finishoperation (   args)
 This method is for internal use!
def dialog.displaymodel.DisplayModelList.Get (   args)
 Same as GetList( name )[ number ] except this will be more efficient
 in the typical case where the field is not mixed.
def dialog.displaymodel.DisplayModelList.GetList (   args)
 Returns a list of values, one for each model being represented for
 the name given.  Throws a DisplayModelException if it cannot
 find the name given.
def dialog.displaymodel.DisplayModelList.Has (   args)
 @return True if name is valid to pass to Get/Set/GetList/SetList/etc
def dialog.displaymodel.DisplayModelList.HoldRules (   args)
 This is useful if you need to make multiple changes at once
 before the resulting rules are executed.
 This is useful, for example, in tables where rules are likely
 to affect multiple columns at once.
def dialog.displaymodel.DisplayModelList.internal (   args)
 Load = internal(args)
def dialog.displaymodel.DisplayModelList.internal (   args)
 RunRules = internal(args)
def dialog.displaymodel.DisplayModelList.internal (   args)
 Set = internal(args)
def dialog.displaymodel.DisplayModelList.internal (   args)
 SetList = internal(args)
def dialog.displaymodel.DisplayModelList.IsMixed (   args)
 @return True if 'name' has different values for different models.
def dialog.displaymodel.DisplayModelList.Reset (   args)
 For internal use.
def dialog.displaymodel.DisplayModelList.ResumeRules (   args)
 Must be called sometime after hold_rules is called, otherwise
 no rules on this display list will be executed.
def dialog.displaymodel.DisplayModelList.SetAll (   args)
 Call this to set all models to the same valid 'to' for a name 'name.'
 This is more efficient than calling SetList.