Package _Framework :: Module InputControlElement :: Class ParameterSlot
[hide private]
[frames] | no frames]

Class ParameterSlot

source code

                   object --+    
                            |    
Disconnectable.Disconnectable --+
                                |
                               ParameterSlot

Maintains the connection between a parameter and InputControlElement. Keeps the invariant that whenever both parameter and control are set, the parameter is connected to the control. Whenever any of them is changed, they are disconnected and reconnected to the new one, in a similar fashion to a SubjectSlot.

Instance Methods [hide private]
 
__init__(self, parameter=None, control=None, *a, **k)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_get_control(self) source code
 
_set_control(self, control) source code
 
_get_parameter(self) source code
 
_set_parameter(self, parameter) source code
 
connect(self) source code
 
soft_disconnect(self) source code
 
disconnect(self) source code

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

Class Variables [hide private]
  _parameter = None
  _control = None
  control = property(_get_control, _set_control)
  parameter = property(_get_parameter, _set_parameter)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parameter=None, control=None, *a, **k)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

disconnect(self)

source code 
Overrides: Disconnectable.Disconnectable.disconnect