Package com.tulskiy.musique.playlist

Examples of com.tulskiy.musique.playlist.Playlist.indexOf()


                        playlist.setGroupBy(ret.toString());
                        config.setString("playlists.groupBy", ret.toString());
                    }
                }

                int firstVisibleIndex = playlist.indexOf(firstVisibleTrack);
                if (firstVisibleIndex != -1) {
                    Rectangle cellRect = table.getCellRect(firstVisibleIndex, 0, true);
                    Rectangle visibleRect = table.getVisibleRect();
                    cellRect.setSize(visibleRect.width, visibleRect.height);
                    table.scrollRectToVisible(cellRect);
View Full Code Here


            if (tracks != null && !tracks.isEmpty()) {
                if (support.isDrop()) {
                    if (insertRow != -1) {
                        int toSubstract = 0;
                        for (Track track : tracks) {
                            int i = playlist.indexOf(track);
                            if (i > -1 && i < insertRow)
                                toSubstract++;
                        }

                        insertRow -= toSubstract;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.