Examples of PlaylistTable


Examples of com.tulskiy.musique.gui.playlist.PlaylistTable

        return COPY_OR_MOVE;
    }

    @Override
    protected Transferable createTransferable(JComponent c) {
        PlaylistTable table = (PlaylistTable) c;
        return new SongsSelection(table.getSelectedSongs());
    }
View Full Code Here

Examples of com.tulskiy.musique.gui.playlist.PlaylistTable

        columns.add(new PlaylistColumn("Name", 400, "[%artist% - ]$if3(%title%,%fileName%)"));
        columns.add(new PlaylistColumn("Length", 60, "%length%"));
        columns.add(new PlaylistColumn("Album", 100, "%album%"));

        playlist = playlistTable.getPlaylist();
        table = new PlaylistTable(view, columns);
        table.setTrackSelection(false);

        add(searchField, BorderLayout.NORTH);
        add(new JScrollPane(table), BorderLayout.CENTER);
View Full Code Here

Examples of com.tulskiy.musique.gui.playlist.PlaylistTable

public class LibraryMenu extends Menu {
    private PlaylistTable fakeTable;

    public JPopupMenu create(LibraryTree parent, Playlist playlist, ArrayList<Track> tracks) {
        if (fakeTable == null) {
            fakeTable = new PlaylistTable(playlist, new ArrayList<PlaylistColumn>());
            fakeTable.dispose();
        }
        ActionMap aMap = parent.getActionMap();
        JPopupMenu popup = new JPopupMenu();
        JMenuItem sendToCurrent = new JMenuItem(aMap.get(SEND_TO_CURRENT));
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.