org.herac.tuxguitar.gui.editors.chord
Class ChordDialog

java.lang.Object
  extended by org.herac.tuxguitar.gui.editors.chord.ChordDialog

public class ChordDialog
extends java.lang.Object


Field Summary
static java.lang.String NAME
           
static int RESULT_CANCEL
           
static int RESULT_CLEAN
           
static int RESULT_SAVE
           
 
Constructor Summary
ChordDialog()
           
 
Method Summary
protected  TGChord findCurrentChord(TGMeasure measure, long start)
           
 TGChord getChord()
           
 Shell getDialog()
           
 ChordEditor getEditor()
           
 ChordList getList()
           
 ChordRecognizer getRecognizer()
           
 int getResult()
           
 ChordSelector getSelector()
           
 GridLayout gridLayout(int numColumns, boolean makeColumnsEqualWidth, int marginWidth, int marginHeight)
           
 boolean isDisposed()
           
 int open(Shell shell, TGMeasureImpl measure, TGBeat beat, long start)
           
 void setChord(TGChord chord)
           
 void setResult(int result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

RESULT_SAVE

public static final int RESULT_SAVE
See Also:
Constant Field Values

RESULT_CLEAN

public static final int RESULT_CLEAN
See Also:
Constant Field Values

RESULT_CANCEL

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

ChordDialog

public ChordDialog()
Method Detail

open

public int open(Shell shell,
                TGMeasureImpl measure,
                TGBeat beat,
                long start)

getEditor

public ChordEditor getEditor()

getSelector

public ChordSelector getSelector()

getList

public ChordList getList()

getRecognizer

public ChordRecognizer getRecognizer()

getChord

public TGChord getChord()

setChord

public void setChord(TGChord chord)

getResult

public int getResult()

setResult

public void setResult(int result)

isDisposed

public boolean isDisposed()

getDialog

public Shell getDialog()

gridLayout

public GridLayout gridLayout(int numColumns,
                             boolean makeColumnsEqualWidth,
                             int marginWidth,
                             int marginHeight)

findCurrentChord

protected TGChord findCurrentChord(TGMeasure measure,
                                   long start)