org.herac.tuxguitar.gui.editors.tab
Class Caret

java.lang.Object
  extended by org.herac.tuxguitar.gui.editors.tab.Caret

public class Caret
extends java.lang.Object


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

Constructor Detail

Caret

public Caret(Tablature tablature)
Method Detail

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()

getVoice

public int getVoice()

setVoice

public void setVoice(int voice)

isRestBeatSelected

public boolean isRestBeatSelected()