|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.herac.tuxguitar.gui.editors.tab.NoteCoords
public class NoteCoords
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NATURAL
public static final int SHARP
public static final int FLAT
public static final int[][] KEY_SIGNATURES
public static final int[] SCORE_SHARP_NOTES
public static final int[] SCORE_FLAT_NOTES
public static final boolean[] NO_NATURAL_NOTES
Constructor Detail |
---|
public NoteCoords(Tablature tablature, SongTrackCoords trackCoords, MeasureCoords meassureCoords, Note note, int posX, int posY)
Method Detail |
---|
public void update(ViewLayout layout)
update
in interface MeasureComponent
public void calculateRealValue()
public void paint(ViewLayout layout, GC gc, int fromX, int fromY)
paint
in interface MeasureComponent
public void paintTabNote(ViewLayout layout, GC gc, int fromX, int fromY)
public void paintTabJoindeds(ViewLayout layout, GC gc, int fromX, int fromY)
public void paintScoreJoindeds(ViewLayout layout, GC gc, int fromX, int fromY, int key, int clef)
public boolean isPlaying()
isPlaying
in interface MeasureComponent
public void setStart(long start)
setStart
in interface MeasureComponent
public long getStart()
getStart
in interface MeasureComponent
public void setDuration(Duration duration)
setDuration
in interface MeasureComponent
public Duration getDuration()
getDuration
in interface MeasureComponent
public Note getNote()
public int getPosX()
getPosX
in interface MeasureComponent
public int getPosY()
getPosY
in interface MeasureComponent
public int getSpan()
getSpan
in interface MeasureComponent
public int getRealValue()
public MeasureTimeHelper getMeasureTimeHelper()
public void setMeasureTimeHelper(MeasureTimeHelper measureTimeHelper)
public Component getComponent()
getComponent
in interface MeasureComponent
public int getScorePosY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |