Class e.p.p.c.l.ListScreen(BaseScreen):

Part of elisa.plugins.poblesec.configuration.list View In Hierarchy

Known subclasses: elisa.plugins.poblesec.configuration.finished.FinalScreen, elisa.plugins.poblesec.configuration.welcome.WelcomeScreen

An option screen that displays a vertical list of choices.
Line # Kind Name Docs
65 Method initialize Initialize the component.
72 Method list_renderer Default renderer for the item widgets in the list.
86 Method set_model Set the model of the list of choices.
104 Method set_frontend Set the frontend for the controller.
108 Method clean Clean the component.
124 Method choose_option Select a given option. This is the default behaviour: it saves the
147 Method handle_input Undocumented
95 Method _create_list Undocumented
115 Method _on_focus Undocumented
119 Method _option_clicked Undocumented
134 Method _create_selector Undocumented

Inherited from BaseScreen:

Line # Kind Name Docs
84 Method title__get Undocumented
87 Method title__set Undocumented
92 Method summary__get Undocumented
95 Method summary__set Undocumented
72 Method _create_widget Undocumented

Inherited from OptionScreen (via BaseScreen):

Line # Kind Name Docs
64 Method __init__ Undocumented
68 Method setup Set up the screen (i.e. retrieve the current state of the configuration
78 Method close Close the configuration screen, and optionally save back the new state
98 Method save Save back the new state of the configuration.
105 Method handle_input_ok Default handling of the OK event.
113 Method handle_input_cancel Default handling of the Return event.
121 Method go_back In standalone mode, go up one level in the history of controllers.

Inherited from PigmentController (via BaseScreen, OptionScreen):

Line # Kind Name Docs
68 Method set_path Set the path for the controller.
83 Method has_focus Undocumented
86 Method prepare Called after widget is added to the canvas. It is sensible to do
93 Method removed Called after widget is removed from the canvas.

Inherited from Component (via BaseScreen, OptionScreen, PigmentController, Controller):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
def initialize(self):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def list_renderer(self, item, widget):
Default renderer for the item widgets in the list. Override if needed.
Parametersitemthe item to be rendered (type: ChoiceModel )
widgetthe widget in which to render the item (type: elisa.plugins.poblesec.widgets.button.TextButton )
def set_model(self, model):
Set the model of the list of choices.
Parametersmodela list model containing choices (type: list of ChoiceModel )
def _create_list(self, screen):
Undocumented
def set_frontend(self, frontend):
Set the frontend for the controller.
Parametersfrontendfrontend (type: elisa.core.components.frontend.Frontend )
def clean(self):
Clean the component.

This method is called when a component is not needed anymore to clean its state.

Returnsa deferred called when the component has finished cleaning its state (type: twisted.internet.defer.Deferred )
def _on_focus(self, widget, focus):
Undocumented
def _option_clicked(self, widget, option):
Undocumented
def choose_option(self, option):
Select a given option. This is the default behaviour: it saves the option and closes the screen. Override if needed.
Parametersoptionthe option selected (type: ChoiceModel )
def _create_selector(self):
Undocumented
def handle_input(self, manager, input_event):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.