Package schrodinger :: Package application :: Package desmond :: Module gui :: Class InteractionTab
[hide private]
[frames] | no frames]

Class InteractionTab

object --+    
         |    
  _MdcBase --+
             |
            InteractionTab

Frame for the Interaction frame of the Advanced Options dialog.

Instance Methods [hide private]
 
__init__(self, master, key, ui, command=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
nearMethodChanged(self, index=None)
 
taperingModified(self)
 
resetFromModel(self, model=None)
Update the interaction tab UI based on the given model CTs.
 
updateModel(self, model)
 
checkValidity(self)
Checks if all widgets have valid values.
 
updateKey(self, key)
 
updateFromKey(self, key)

Inherited from _MdcBase: add, hasWidget, refresh, remove

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  NEAR_METHOD_NAMEMAP = {'Cutoff': 'none', 'Force tapering': 'c2...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, master, key, ui, command=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

checkValidity(self)

 

Checks if all widgets have valid values. If a widget with invalid value was encountered, then returns string that describes the problem. Returns None if there are no issues.

Overrides: _MdcBase.checkValidity

updateKey(self, key)

 
Overrides: _MdcBase.updateKey

updateFromKey(self, key)

 
Overrides: _MdcBase.updateFromKey

Class Variable Details [hide private]

NEAR_METHOD_NAMEMAP

Value:
{'Cutoff': 'none',
 'Force tapering': 'c2switch',
 'Potential tapering': 'c1switch',
 'Shift': 'shift',
 'c1switch': 'Potential tapering',
 'c2switch': 'Force tapering',
 'none': 'Cutoff',
 'shift': 'Shift'}