]> ruin.nu Git - moosique.git/commitdiff
documentation..
authorMichael Andreen <harv@ruin.nu>
Fri, 16 May 2003 15:53:32 +0000 (15:53 +0000)
committerMichael Andreen <harv@ruin.nu>
Fri, 16 May 2003 15:53:32 +0000 (15:53 +0000)
MooViewCounter.java

index 8383b6cb44405a8749a0ba046101689c7d05e8d6..16d34b9c42b9abdb3f7767e73683af5c268faad4 100644 (file)
@@ -46,6 +46,11 @@ public class MooViewCounter extends JPanel {
                }
                
        }
+
+       /**
+        * Draws the ruler-like fields.
+        * @param g The Graphics object it operates on.
+        */
        public void paintComponent(Graphics g) {
                super.paintComponent(g);
                if (!(g instanceof Graphics2D)) return;
@@ -59,4 +64,4 @@ public class MooViewCounter extends JPanel {
                        g2.drawLine(0, c * CELL_HEIGHT * measure, 30, c * CELL_HEIGHT * measure);               // 1/1
                }
        }
-}
\ No newline at end of file
+}