org.herac.tuxguitar.gui.editors.tab
Class MeasureCoords.BeatPosition
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.MeasureCoords.BeatPosition
- All Implemented Interfaces:
- Component
- Enclosing class:
- MeasureCoords
public class MeasureCoords.BeatPosition
- extends java.lang.Object
- implements Component
Implementacion de Component para crear un pulso de lyric
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeasureCoords.BeatPosition
public MeasureCoords.BeatPosition(long start,
Duration duration,
int posX)
checkValues
public void checkValues(NoteCoords note)
getPosX
public int getPosX()
setDuration
public void setDuration(Duration duration)
- Specified by:
setDuration
in interface Component
getDuration
public Duration getDuration()
- Specified by:
getDuration
in interface Component
getStart
public long getStart()
- Specified by:
getStart
in interface Component
setStart
public void setStart(long start)
- Specified by:
setStart
in interface Component
isPlayingBeat
public boolean isPlayingBeat()
getMinNote
public NoteCoords getMinNote()
getMaxNote
public NoteCoords getMaxNote()
paintExtraLines
public void paintExtraLines(GC gc,
ViewLayout layout)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Component
- Overrides:
clone
in class java.lang.Object