org.herac.tuxguitar.gui.editors.tab
Class Caret
java.lang.Object
org.herac.tuxguitar.gui.editors.tab.Caret
public class Caret
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Caret
public Caret(Tablature tablature)
update
public void update()
update
public void update(int trackNumber)
update
public void update(int trackNumber,
long position,
int string)
update
public void update(int trackNumber,
long position,
int string,
int velocity)
moveTo
public void moveTo(TGTrackImpl selectedTrack,
TGMeasureImpl selectedMeasure,
TGBeat selectedBeat,
int string)
goToTickPosition
public void goToTickPosition()
paintCaret
public void paintCaret(ViewLayout layout,
TGPainter painter)
moveRight
public boolean moveRight()
moveLeft
public void moveLeft()
moveUp
public void moveUp()
moveDown
public void moveDown()
setStringNumber
public void setStringNumber(int number)
getStringNumber
public int getStringNumber()
getPosition
public long getPosition()
getMeasure
public TGMeasureImpl getMeasure()
getTrack
public TGTrackImpl getTrack()
getDuration
public TGDuration getDuration()
setSelectedDuration
public void setSelectedDuration(TGDuration selectedDuration)
getSelectedString
public TGString getSelectedString()
changeDuration
public void changeDuration(TGDuration duration)
hasChanges
public boolean hasChanges()
setChanges
public void setChanges(boolean changes)
getVelocity
public int getVelocity()
setVelocity
public void setVelocity(int velocity)
getSelectedNote
public TGNote getSelectedNote()
getSelectedBeat
public TGBeatImpl getSelectedBeat()
getSongManager
public TGSongManager getSongManager()