]> ruin.nu Git - moosique.git/blobdiff - MooTrackTitle.java
*** empty log message ***
[moosique.git] / MooTrackTitle.java
index d5876c1485718a34f6ae3ef940152182d5f2974c..545681d89d53e529cb3053627aed33e7be193264 100644 (file)
@@ -27,6 +27,7 @@ public class MooTrackTitle extends JPanel {
 
        /** 
         * Creates the title bar.
+        * @param aTrack the track that this tracktitle is operating on.
         */
        public MooTrackTitle (Track aTrack) {
                setDoubleBuffered(true);
@@ -119,7 +120,18 @@ public class MooTrackTitle extends JPanel {
                checkboxes.add(solo);
                add(checkboxes);
        }
+       
+       /** 
+        * Returns the channel of the track that the view is visualising.
+        * @return the chanel of the visualised track
+        */
+       public int getChannel() {
+               return channel;
+       }
 
+       /**
+        * Checks if the focus is lost.
+        */
        class TitleFocusListener extends FocusAdapter {
                public void focusLost(FocusEvent e) {
                        // Update the MidiEvent containing the title of this track