]> ruin.nu Git - moosique.git/blobdiff - MooTrackTitle.java
Implemented editing functions - biggie!
[moosique.git] / MooTrackTitle.java
index f2bed14e37b919130e2c6abda153bdc113aed64c..979aed2139208e234f4124871b34b955fe536aef 100644 (file)
@@ -25,6 +25,16 @@ public class MooTrackTitle extends JPanel {
        private String trackName = "";
        private int channel = 0;
 
+       /** 
+        * Creates the title bar for an empty track, and therefore an initial channel is required.
+        * @param aTrack the track that this tracktitle is operating on.
+        * @param chan  the initial channel
+        */
+       public MooTrackTitle (Track aTrack, int chan) {
+               this(aTrack);
+               channel = chan;
+       }
+
        /** 
         * Creates the title bar.
         * @param aTrack the track that this tracktitle is operating on.