Module Dialogs :: Class SongChooser
[hide private]
[frames] | no frames]

Class SongChooser

source code

    Task.Task --+    
                |    
       View.Layer --+
                    |
Input.KeyListener --+
                    |
                   SongChooser

Song choosing layer.

Instance Methods [hide private]
 
__init__(self, engine, prompt='', selectedSong='', selectedLibrary='') source code
 
loadCollection(self) source code
 
libraryListLoaded(self, libraries) source code
 
songListLoaded(self, songs) source code
 
shown(self) source code
 
hidden(self) source code
 
getSelectedSong(self) source code
 
getSelectedLibrary(self) source code
 
loadItemLabel(self, i) source code
 
updateSelection(self) source code
 
keyPressed(self, key, unicode) source code
 
matchesSearch(self, item) source code
 
doSearch(self) source code
 
songLoaded(self, song) source code
 
playSelectedSong(self) source code
 
run(self, ticks) source code
 
renderCassette(self, color, label) source code
 
renderLibrary(self, color, label) source code
 
render(self, visibility, topMost) source code

Inherited from View.Layer: isBackgroundLayer

Inherited from Task.Task: started, stopped

Inherited from Input.KeyListener: keyReleased

Method Details [hide private]

__init__(self, engine, prompt='', selectedSong='', selectedLibrary='')
(Constructor)

source code 
Overrides: Task.Task.__init__

shown(self)

source code 
Overrides: View.Layer.shown

hidden(self)

source code 
Overrides: View.Layer.hidden

keyPressed(self, key, unicode)

source code 
Overrides: Input.KeyListener.keyPressed

run(self, ticks)

source code 
Overrides: View.Layer.run

render(self, visibility, topMost)

source code 
Overrides: View.Layer.render