org.herac.tuxguitar.gui.editors.tab
public class NoteCoords extends Object implements MeasureComponent
| Field Summary | |
|---|---|
| static int | FLAT |
| static int[][] | KEY_SIGNATURES |
| static int | NATURAL |
| static boolean[] | NO_NATURAL_NOTES
Notas que tienen sostenido |
| static int[] | SCORE_FLAT_NOTES |
| static int[] | SCORE_SHARP_NOTES |
| static int | SHARP |
| Constructor Summary | |
|---|---|
| NoteCoords(Tablature tablature, SongTrackCoords trackCoords, MeasureCoords meassureCoords, Note note, int posX, int posY) | |
| Method Summary | |
|---|---|
| void | calculateRealValue() |
| Component | getComponent() |
| Duration | getDuration()
Retorna la duracion de la nota |
| MeasureTimeHelper | getMeasureTimeHelper() |
| Note | getNote()
Retorna la nota de Referencia |
| int | getPosX()
Retorna posicion X dentro del compas |
| int | getPosY()
Retorna posicion Y dentro del compas |
| int | getRealValue() |
| int | getScorePosY() |
| int | getSpan() |
| long | getStart()
Retorna el start de la nota |
| boolean | isPlaying() |
| void | paint(ViewLayout layout, GC gc, int fromX, int fromY)
Pinta la nota |
| void | paintScoreJoindeds(ViewLayout layout, GC gc, int fromX, int fromY, int key, int clef) |
| void | paintTabJoindeds(ViewLayout layout, GC gc, int fromX, int fromY)
Pinta las uniones entre notas |
| void | paintTabNote(ViewLayout layout, GC gc, int fromX, int fromY)
Pinta la nota en la tablatura |
| void | setDuration(Duration duration)
Asigna la duracion de la nota |
| void | setMeasureTimeHelper(MeasureTimeHelper measureTimeHelper) |
| void | setStart(long start)
Asigna el start de la nota |
| void | update(ViewLayout layout)
Actualiza los valores para dibujar |