Class PlaySongPlan


  • public class PlaySongPlan
    extends Plan
    Plan for playing a song.
    • Field Detail

      • player

        protected javazoom.jl.player.Player player
        The media player.
      • cnt

        protected static int cnt
        Some counter.
    • Constructor Detail

      • PlaySongPlan

        public PlaySongPlan()
    • Method Detail

      • body

        public void body()
        The plan body.
        Specified by:
        body in class Plan
      • aborted

        public void aborted()
        Cleanup, when the user "pressed the button".
        Overrides:
        aborted in class Plan
      • failed

        public void failed()
        The failed method is called on plan failure/abort.
        Overrides:
        failed in class Plan
      • main

        public static void main​(java.lang.String[] args)
        Main for testing.