dguitar.gui.unused
Class NoteComponent

java.lang.Object
  extended bydguitar.gui.unused.NoteComponent

public class NoteComponent
extends java.lang.Object

Author:
mgracia

Field Summary
(package private)  int duration
          The duration of the note (0 = whole note, 1 = half note, 2=quarter note...
static int H
           
static int INC
           
static int L
          The size of the COLA both in X and Y axis
static int LY
           
 java.awt.Point p
          The position in pixels relative to the BarComponent
static int Q
           
 java.awt.Point relative
          The position of the note, where X coordinate is the beat, and Y is how many lines below
static int RX
          The radio in X axis of the note oval
static int RY
          The radio in Y axis of the note oval
static int W
           
 
Constructor Summary
NoteComponent(java.awt.Point pp, int i, java.awt.Point relativePos)
          Creates a new instance of Notes
 
Method Summary
 void paint(java.awt.Graphics g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

duration

int duration
The duration of the note (0 = whole note, 1 = half note, 2=quarter note...


p

public java.awt.Point p
The position in pixels relative to the BarComponent


relative

public java.awt.Point relative
The position of the note, where X coordinate is the beat, and Y is how many lines below


RX

public static final int RX
The radio in X axis of the note oval

See Also:
Constant Field Values

RY

public static final int RY
The radio in Y axis of the note oval

See Also:
Constant Field Values

L

public static final int L
The size of the COLA both in X and Y axis

See Also:
Constant Field Values

LY

public static final int LY
See Also:
Constant Field Values

INC

public static final int INC
See Also:
Constant Field Values

Q

public static final int Q
See Also:
Constant Field Values

W

public static final int W
See Also:
Constant Field Values

H

public static final int H
See Also:
Constant Field Values
Constructor Detail

NoteComponent

public NoteComponent(java.awt.Point pp,
                     int i,
                     java.awt.Point relativePos)
Creates a new instance of Notes

Method Detail

paint

public void paint(java.awt.Graphics g)