org.herac.tuxguitar.gui.editors.tab
Class SilenceCoords
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.SilenceCoords
- All Implemented Interfaces:
- MeasureComponent
public class SilenceCoords
- extends java.lang.Object
- implements MeasureComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilenceCoords
public SilenceCoords(Tablature tablature,
MeasureCoords meassureCoords,
Silence silence,
int posX)
update
public void update(ViewLayout layout)
- Specified by:
update
in interface MeasureComponent
paint
public void paint(ViewLayout layout,
GC gc,
int fromX,
int fromY)
- Specified by:
paint
in interface MeasureComponent
isPlaying
public boolean isPlaying()
- Specified by:
isPlaying
in interface MeasureComponent
setDuration
public void setDuration(Duration duration)
- Asigna la duracion del silencio
- Specified by:
setDuration
in interface MeasureComponent
getDuration
public Duration getDuration()
- Specified by:
getDuration
in interface MeasureComponent
setStart
public void setStart(long start)
- Asigna el start de el silencio
- Specified by:
setStart
in interface MeasureComponent
getStart
public long getStart()
- Specified by:
getStart
in interface MeasureComponent
getSilence
public Silence getSilence()
getPosX
public int getPosX()
- Specified by:
getPosX
in interface MeasureComponent
getPosY
public int getPosY()
- Specified by:
getPosY
in interface MeasureComponent
getSpan
public int getSpan()
- Specified by:
getSpan
in interface MeasureComponent
getComponent
public Component getComponent()
- Specified by:
getComponent
in interface MeasureComponent