Home | Trees | Indices | Help |
---|
|
Connects to a compatible elisa.base_components.model.Model and holds extra information useful for a elisa.base_components.view.View to render the model. It is notified of all the changes occuring to model. Part of these changes can be treated automatically using the bindings system. A Controller can be part of a hierarchy of Controllers thus potentially having a reference to its parent and to its children defined in bindings.
DOCME: focus, focused, branch of focused controllers, backend.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
tuple of strings |
supported_models =
list of models that are compatible with the controller identified by their path: 'plugin:model' |
||
dictionary: keys: strings; values: list of strings or strings |
bindings =
associations between model's attribute and Controller's attributes; if an attribute contained in bindings' keys is changed or created in model, it is replicated in all the corresponding attributes of the controller defined in bindings values |
||
string |
name =
Component's name |
||
Inherited from Inherited from Inherited from |
|
|||
elisa.core.backend.Backend |
backend backend to which the controller belongs |
||
boolean |
focused DOCME |
||
elisa.base_components.model.Model |
model model to which the controller is connected; setting it to an incompatible model will fail |
||
elisa.base_components.controller.Controller |
parent parent controller; None if the controller is a root |
||
Inherited from |
|
|||
Inherited from |
|
|
Initialize various variables internal to the Component. This method is called by the plugin_registry after the component's config has been loaded. Override this method if you need to perform some initializations that would normally go in Component's constructor but can't be done there because they require access to the component's config.
|
|
Called when focused is set to a new value. Override if you wish to react to that change. Do not forget to call the parent class method.
|
Called when backend is set to a new value. Override if you wish to react to that change. Do not forget to call the parent class method.
|
Called when model is set to a new value. Override if you wish to react to that change. Do not forget to call the parent class method.
|
|
|
attribute .
|
attribute .
|
|
backendbackend to which the controller belongs
|
focusedDOCME
|
modelmodel to which the controller is connected; setting it to an incompatible model will fail
|
parentparent controller; None if the controller is a root
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:08:37 2008 | http://epydoc.sourceforge.net |