Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.NoteCoords
Field Summary | |
static int | |
static int[][] | |
static int | |
static boolean[] |
|
static int[] | |
static int[] | |
static int |
Constructor Summary | |
|
Method Summary | |
void | |
Component | |
Duration |
|
MeasureTimeHelper | |
Note |
|
int |
|
int |
|
int | |
int | |
int |
|
long |
|
boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public static final int FLAT
- Field Value:
- 2
public static final int[][] KEY_SIGNATURES
public static final int NATURAL
- Field Value:
- 0
public static final boolean[] NO_NATURAL_NOTES
Notas que tienen sostenido
public static final int[] SCORE_FLAT_NOTES
public static final int[] SCORE_SHARP_NOTES
public static final int SHARP
- Field Value:
- 1
public NoteCoords(Tablature tablature, SongTrackCoords trackCoords, MeasureCoords meassureCoords, Note note, int posX, int posY)
public void calculateRealValue()
public Duration getDuration()
Retorna la duracion de la nota
- Specified by:
- getDuration in interface MeasureComponent
public int getPosX()
Retorna posicion X dentro del compas
- Specified by:
- getPosX in interface MeasureComponent
public int getPosY()
Retorna posicion Y dentro del compas
- Specified by:
- getPosY in interface MeasureComponent
public int getRealValue()
public int getScorePosY()
public long getStart()
Retorna el start de la nota
- Specified by:
- getStart in interface MeasureComponent
public void paint(ViewLayout layout, GC gc, int fromX, int fromY)
Pinta la nota
- Specified by:
- paint in interface MeasureComponent
public void paintScoreJoindeds(ViewLayout layout, GC gc, int fromX, int fromY, int key, int clef)
public void paintTabJoindeds(ViewLayout layout, GC gc, int fromX, int fromY)
Pinta las uniones entre notas
public void paintTabNote(ViewLayout layout, GC gc, int fromX, int fromY)
Pinta la nota en la tablatura
public void setDuration(Duration duration)
Asigna la duracion de la nota
- Specified by:
- setDuration in interface MeasureComponent
public void setStart(long start)
Asigna el start de la nota
- Specified by:
- setStart in interface MeasureComponent
public void update(ViewLayout layout)
Actualiza los valores para dibujar
- Specified by:
- update in interface MeasureComponent