# Class e.p.p.b.l.ListSwitcherController(PigmentController):

Part of elisa.plugins.poblesec.base.list_switcher View In Hierarchy

Known subclasses: elisa.plugins.daap.controller.AlbumsDaapListSwitcherController, elisa.plugins.daap.controller.ArtistsDaapListSwitcherController, elisa.plugins.daap.controller.TracksDaapListSwitcherController, elisa.plugins.database.music_controller.AlbumsDbListSwitcherController, elisa.plugins.database.music_controller.ArtistsDbListSwitcherController, elisa.plugins.database.music_controller.DecadesDbListSwitcherController, elisa.plugins.database.music_controller.GenreDbListSwitcherController, elisa.plugins.database.music_controller.GenresDbListSwitcherController, elisa.plugins.database.music_controller.TimeDbListSwitcherController, elisa.plugins.database.music_controller.TracksDbListSwitcherController, elisa.plugins.database.photo_controller.AlbumsListSwitcherController, elisa.plugins.database.photo_controller.PhotoListSwitcherController, elisa.plugins.database.photo_controller.PhotoMonthListSwitcherController, elisa.plugins.database.photo_controller.PhotoTimesListSwitcherController, elisa.plugins.database.playlists_controller.AddedPhotosListSwitcherController, elisa.plugins.database.playlists_controller.AddedTracksListSwitcherController, elisa.plugins.database.playlists_controller.PlayedPhotosListSwitcherController, elisa.plugins.database.playlists_controller.PlayedTracksListSwitcherController, elisa.plugins.favorites.controller.FavoritesAlbumsListSwitcher, elisa.plugins.favorites.controller.FavoritesArtistsListSwitcher, elisa.plugins.favorites.controller.FavoritesPhotoAlbumsListSwitcher, elisa.plugins.favorites.controller.FavoritesPhotosListSwitcher, elisa.plugins.favorites.controller.FavoritesRadiosListSwitcher, elisa.plugins.favorites.controller.FavoritesTracksListSwitcher, elisa.plugins.flickr.controller.FlickrListSwitcherController, elisa.plugins.ipod.controller.AlbumsIpodListSwitcherController, elisa.plugins.ipod.controller.ArtistsIpodListSwitcherController, elisa.plugins.ipod.controller.TracksIpodListSwitcherController, elisa.plugins.poblesec.filesystem.FilesystemListSwitcherController, elisa.plugins.poblesec.network.NetworkListSwitcherController, elisa.plugins.shoutcast.controller.ShoutcastListSwitcherController, elisa.plugins.yesfm.controllers.AlbumsListSwitcherController, elisa.plugins.yesfm.controllers.ArtistsListSwitcherController, elisa.plugins.yesfm.controllers.TracksListSwitcherController, elisa.plugins.youtube.controller.YoutubeListSwitcherController

Undocumented

Line # | Kind | Name | Docs
--- | --- | --- | ---
26 | Method | initialize | Initialize the component.
46 | Method | set_frontend | Set the frontend for the controller.
51 | Method | set_path | Set the path for the controller.
68 | Method | switch_mode | Undocumented
99 | Method | handle_input | Undocumented
102 | Method | prepare | Called after `widget` is added to the canvas. It is sensible to do
105 | Method | removed | Called after `widget` is removed from the canvas.
109 | Method | clean | Clean the component.

Inherited from PigmentController:

Line # | Kind | Name | Docs
--- | --- | --- | ---
48 | Method | __init__ | Undocumented
81 | Method | has_focus | Undocumented

Inherited from Component (via PigmentController, Controller):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.

def initialize(self, **kwargs):
overrides elisa.core.component.Component.initialize

Initialize the component.

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

Returns | a deferred called when a component is fully initialized (type: `twisted.internet.defer.Deferred` )

def set_frontend(self, frontend):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.set_frontend
Set the frontend for the controller.

Parameters | frontend | frontend (type: `elisa.core.components.frontend.Frontend` )

def set_path(self, path):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.set_path
Set the path for the controller.

Parameters | path | path (type: `str` )

def switch_mode(self, new_class):
Undocumented
def handle_input(self, manager, input_event):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.handle_input
Undocumented
def prepare(self):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.prepare
Called after `widget` is added to the canvas. It is sensible to do aspect ratio dependent operations at that point.

def removed(self):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.removed
Called after `widget` is removed from the canvas.

def clean(self):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.clean

Clean the component.

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

Returns | a deferred called when the component has finished cleaning its state (type: `twisted.internet.defer.Deferred` )