org.herac.tuxguitar.gui.editors.effects
Class TremoloBarEditor

java.lang.Object
  extended by org.herac.tuxguitar.gui.editors.effects.TremoloBarEditor

public class TremoloBarEditor
extends java.lang.Object


Field Summary
protected  org.herac.tuxguitar.gui.editors.effects.TremoloBarEditor.DefaultTremoloBar[] defaultTremoloBars
           
protected  Composite editor
           
protected  TGEffectTremoloBar result
           
static int X_SPACING
           
static int Y_SPACING
           
 
Constructor Summary
TremoloBarEditor()
           
 
Method Summary
protected  void checkPoint(int x, int y)
           
 int getHeight()
           
 TGEffectTremoloBar getTremoloBar()
           
 int getWidth()
           
 boolean isEmpty()
           
protected  void paintEditor(TGPainter painter)
           
 void setTremoloBar(TGEffectTremoloBar effect)
           
 TGEffectTremoloBar show(Shell shell, TGNote note)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X_SPACING

public static final int X_SPACING
See Also:
Constant Field Values

Y_SPACING

public static final int Y_SPACING
See Also:
Constant Field Values

editor

protected Composite editor

defaultTremoloBars

protected org.herac.tuxguitar.gui.editors.effects.TremoloBarEditor.DefaultTremoloBar[] defaultTremoloBars

result

protected TGEffectTremoloBar result
Constructor Detail

TremoloBarEditor

public TremoloBarEditor()
Method Detail

show

public TGEffectTremoloBar show(Shell shell,
                               TGNote note)

paintEditor

protected void paintEditor(TGPainter painter)

checkPoint

protected void checkPoint(int x,
                          int y)

isEmpty

public boolean isEmpty()

getTremoloBar

public TGEffectTremoloBar getTremoloBar()

setTremoloBar

public void setTremoloBar(TGEffectTremoloBar effect)

getWidth

public int getWidth()

getHeight

public int getHeight()