# Class e.p.p.b.p.MenuItemPreviewListController(PreviewListController):

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

Known subclasses: elisa.plugins.daap.controller.AlbumsDaapPreviewListController, elisa.plugins.daap.controller.ArtistsDaapPreviewListController, elisa.plugins.daap.controller.TracksDaapPreviewListController, elisa.plugins.database.music_controller.AlbumsDbPreviewListController, elisa.plugins.database.music_controller.ArtistsDbPreviewListController, elisa.plugins.database.music_controller.DecadesDbPreviewListController, elisa.plugins.database.music_controller.GenresDbPreviewListController, elisa.plugins.database.music_controller.TimeDbPreviewListController, elisa.plugins.database.photo_controller.AlbumsVerticalWithPreview, elisa.plugins.database.photo_controller.PhotoMonthVerticalWithPreview, elisa.plugins.database.photo_controller.PhotoTimesVerticalWithPreview, elisa.plugins.database.photo_controller.PhotoVerticalWithPreview, elisa.plugins.database.playlists_controller.AddedPhotosVerticalWithPreview, elisa.plugins.database.playlists_controller.PlayedPhotosVerticalWithPreview, elisa.plugins.dvd.dvdcontroller.DvdController, elisa.plugins.favorites.controller.FavoritesAlbumsVerticalWithPreview, elisa.plugins.favorites.controller.FavoritesArtistsVerticalWithPreview, elisa.plugins.favorites.controller.FavoritesPhotoAlbumsVerticalWithPreview, elisa.plugins.favorites.controller.FavoritesPhotosVerticalWithPreview, elisa.plugins.favorites.controller.FavoritesRadiosVerticalWithPreview, elisa.plugins.favorites.controller.FavoritesTracksVerticalWithPreview, elisa.plugins.flickr.controller.FlickrPreviewListController, elisa.plugins.ipod.controller.AlbumsIpodPreviewListController, elisa.plugins.ipod.controller.ArtistsIpodPreviewListController, elisa.plugins.ipod.controller.TracksIpodPreviewListController, elisa.plugins.poblesec.base.preview_list.DoubleLineMenuItemPreviewListController, elisa.plugins.poblesec.filesystem.FilesystemPreviewListController, elisa.plugins.poblesec.network.NetworkPreviewListController, elisa.plugins.poblesec.section.SectionMenuController, elisa.plugins.shoutcast.controller.ShoutcastPreviewListController, elisa.plugins.yesfm.controllers.ArtistsPreviewListController, elisa.plugins.yesfm.controllers.TrackActionsController, elisa.plugins.youtube.controller.YoutubePreviewListController

Preview list controller tied to the menu item widget.

Line # | Kind | Name | Docs
--- | --- | --- | ---
330 | Method | initialize | Initialize the component.
357 | Method | clean | Clean the component.
378 | Method | node_renderer | Render a node using the common API methods defined by the
418 | Method | image_from_item | Display a preview image for an item using the common API methods

Inherited from PreviewListController:

Line # | Kind | Name | Docs
--- | --- | --- | ---
97 | Method | _create_selector | Undocumented
108 | Method | nodes_setup | Undocumented
121 | Method | _fastscroller_setup | Undocumented
140 | Method | item_to_letter | Undocumented
149 | Method | _get_active_shortcuts | Undocumented
160 | Method | _shortcut_renderer | Undocumented
167 | Method | _get_current_shortcut | Undocumented
170 | Method | _set_current_shortcut | Undocumented
173 | Method | _shortcut_selected | Undocumented
181 | Method | set_frontend | Set the frontend for the controller.
205 | Method | _initiate_load_preview | Undocumented
229 | Method | _load_preview | Undocumented
244 | Method | handle_input | Undocumented

Inherited from ListController (via PreviewListController):

Line # | Kind | Name | Docs
--- | --- | --- | ---
38 | Method | __init__ | Undocumented
59 | Method | stop_loading_animation | Undocumented
67 | Method | removed | Called after `widget` is removed from the canvas.
70 | Method | _on_focus | Undocumented
81 | Method | node_clicked | Undocumented
84 | Method | node_selected | Undocumented

Inherited from PigmentController (via PreviewListController, ListController):

Line # | Kind | Name | Docs
--- | --- | --- | ---
65 | Method | set_path | Set the path for the controller.
81 | Method | has_focus | Undocumented
84 | Method | prepare | Called after `widget` is added to the canvas. It is sensible to do

Inherited from Component (via PreviewListController, ListController, 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.plugins.poblesec.base.list.ListController.initialize
overridden in elisa.plugins.database.music_controller.TracksPreviewListController, elisa.plugins.favorites.controller.FavoritesController, elisa.plugins.poblesec.directory_settings.DirectorySettingsController, elisa.plugins.poblesec.directory_settings.MediaDirectoryList, elisa.plugins.poblesec.network.NetworkSharesList, elisa.plugins.poblesec.section.HardwareListControllerMixin, elisa.plugins.yesfm.controllers.TrackActionsController

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 clean(self):
overrides elisa.plugins.pigment.pigment_controller.PigmentController.clean
overridden in elisa.plugins.poblesec.network.NetworkSharesList, elisa.plugins.poblesec.section.HardwareListControllerMixin

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` )

def node_renderer(self, item, widget):
overrides elisa.plugins.poblesec.base.list.ListController.node_renderer
overridden in elisa.plugins.poblesec.base.preview_list.DoubleLineMenuItemPreviewListController, elisa.plugins.poblesec.directory_settings.DirectorySettingsController
Render a node using the common API methods defined by the `elisa.plugins.poblesec.base.list.GenericListViewMode` class.

def image_from_item(self, item):
overrides elisa.plugins.poblesec.base.preview_list.PreviewListController.image_from_item
Display a preview image for an item using the common API methods defined by the `elisa.plugins.poblesec.base.list.GenericListViewMode` class.