Interface PlayListPlayer

    • Method Detail

      • next

        void next()
        Move to next song. If playback was active, keep on playing.
      • previous

        void previous()
        Move to previous song. If playback was active, keep on playing.
      • getPlayListId

        Long getPlayListId()
        Persistent identifier of the current playlist, if available.
        Returns:
        id or null, if not available.
      • getComponent

        JComponent getComponent()
        Main display component for the currently active playlist.
        Returns:
        main display component for the currently active playlist
      • currentIndex

        int currentIndex()
        Filtered index of the current song in the played list/component. This index may change dynamically, as the view of the list is filtered or sorted.
        Returns:
        index
      • setRepeatMode

        void setRepeatMode​(PlayListPlayer.RepeatMode mode)
        Sets the current repeat mode.
        Parameters:
        mode - mode
      • setScanMode

        void setScanMode​(PlayListPlayer.ScanMode mode)
        Sets a new scan mode.
        Parameters:
        mode - scan mode