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

java.lang.Object
  extended by org.herac.tuxguitar.song.models.TGNote
      extended by org.herac.tuxguitar.gui.editors.tab.TGNoteImpl

public class TGNoteImpl
extends TGNote


Constructor Summary
TGNoteImpl(TGFactory factory)
           
 
Method Summary
 TGBeatGroup getBeatGroup()
           
 TGBeatImpl getBeatImpl()
           
 TGMeasureImpl getMeasureImpl()
           
 int getPaintPosition(int index)
           
 int getPosX()
           
 int getRealValue()
           
 int getScorePosY()
           
 int getTabPosY()
           
 void paint(ViewLayout layout, TGPainter painter, int fromX, int fromY)
          Pinta la nota
 void paintTablatureNote(ViewLayout layout, TGPainter painter, int fromX, int fromY, int spacing)
          Pinta la nota en la tablatura
 void setBeatGroup(TGBeatGroup group)
           
 void update(ViewLayout layout)
          Actualiza los valores para dibujar
 
Methods inherited from class org.herac.tuxguitar.song.models.TGNote
clone, getBeat, getEffect, getString, getValue, getVelocity, isTiedNote, setBeat, setEffect, setString, setTiedNote, setValue, setVelocity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGNoteImpl

public TGNoteImpl(TGFactory factory)
Method Detail

update

public void update(ViewLayout layout)
Actualiza los valores para dibujar


paint

public void paint(ViewLayout layout,
                  TGPainter painter,
                  int fromX,
                  int fromY)
Pinta la nota


paintTablatureNote

public void paintTablatureNote(ViewLayout layout,
                               TGPainter painter,
                               int fromX,
                               int fromY,
                               int spacing)
Pinta la nota en la tablatura


getRealValue

public int getRealValue()

getScorePosY

public int getScorePosY()

getTabPosY

public int getTabPosY()

getMeasureImpl

public TGMeasureImpl getMeasureImpl()

getPaintPosition

public int getPaintPosition(int index)

getBeatImpl

public TGBeatImpl getBeatImpl()

getBeatGroup

public TGBeatGroup getBeatGroup()

setBeatGroup

public void setBeatGroup(TGBeatGroup group)

getPosX

public int getPosX()