|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dguitar.gui.unused.NoteComponent
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 |
int duration
public java.awt.Point p
public java.awt.Point relative
public static final int RX
public static final int RY
public static final int L
public static final int LY
public static final int INC
public static final int Q
public static final int W
public static final int H
Constructor Detail |
public NoteComponent(java.awt.Point pp, int i, java.awt.Point relativePos)
Method Detail |
public void paint(java.awt.Graphics g)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |