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

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

public class TGBeatGroup
extends java.lang.Object


Field Summary
static int DIRECTION_DOWN
           
static int DIRECTION_UP
           
 
Constructor Summary
TGBeatGroup()
           
 
Method Summary
 void check(TGNoteImpl note, int clef)
           
 int getDirection()
           
static float getDownOffset(ViewLayout layout)
           
 TGNoteImpl getMaxNote()
           
 TGNoteImpl getMinNote()
           
static float getUpOffset(ViewLayout layout)
           
 int getY1(ViewLayout layout, TGNoteImpl note, int key, int clef)
           
 int getY2(ViewLayout layout, int x, int key, int clef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTION_UP

public static final int DIRECTION_UP
See Also:
Constant Field Values

DIRECTION_DOWN

public static final int DIRECTION_DOWN
See Also:
Constant Field Values
Constructor Detail

TGBeatGroup

public TGBeatGroup()
Method Detail

check

public void check(TGNoteImpl note,
                  int clef)

getY1

public int getY1(ViewLayout layout,
                 TGNoteImpl note,
                 int key,
                 int clef)

getY2

public int getY2(ViewLayout layout,
                 int x,
                 int key,
                 int clef)

getDirection

public int getDirection()

getMinNote

public TGNoteImpl getMinNote()

getMaxNote

public TGNoteImpl getMaxNote()

getUpOffset

public static float getUpOffset(ViewLayout layout)

getDownOffset

public static float getDownOffset(ViewLayout layout)