Package plugins.audioPlayer.javazoom.jlgui.player.amp.playlist

Examples of plugins.audioPlayer.javazoom.jlgui.player.amp.playlist.Playlist


    /**
     * Initialises the list so that it displays the details of all songs in the playlist.
     */
    private void initList()
    {
        Playlist playlist = player.getPlaylist();
        int c = player.getPlaylist().getPlaylistSize();
        _playlist = new Vector();
        for (int i = 0; i < c; i++)
        {
            _playlist.addElement(playlist.getItemAt(i));
        }
        restrictedPlaylist = _playlist;
        m = new DefaultListModel();
        for (int i = 0; i < _playlist.size(); i++)
        {
View Full Code Here


    /**
     * Calls the relavent methods in the player class to play a song.
     */
    private void playSong()
    {
        Playlist playlist = player.getPlaylist();
        player.pressStop();
        player.setCurrentSong((PlaylistItem) restrictedPlaylist.get(list.getSelectedIndex()));
        playlist.setCursor(playlist.getIndex((PlaylistItem) restrictedPlaylist.get(list.getSelectedIndex())));
        player.pressStart();
        dispose();
    }
View Full Code Here

TOP

Related Classes of plugins.audioPlayer.javazoom.jlgui.player.amp.playlist.Playlist

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.