org.herac.tuxguitar.gui.editors.chord
Class ChordEditor
java.lang.Object
Composite
org.herac.tuxguitar.gui.editors.chord.ChordEditor
public class ChordEditor
- extends Composite
Constructor Summary |
ChordEditor(Composite parent,
int style)
|
ChordEditor(Composite parent,
int style,
short maxStrings)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRING_SPAN
public static final int STRING_SPAN
- See Also:
- Constant Field Values
FRET_SPAN
public static final int FRET_SPAN
- See Also:
- Constant Field Values
MIN_FRET
public static final short MIN_FRET
- See Also:
- Constant Field Values
MAX_FRET
public static final short MAX_FRET
- See Also:
- Constant Field Values
VIEWING_FRETS
public static final short VIEWING_FRETS
- See Also:
- Constant Field Values
ChordEditor
public ChordEditor(Composite parent,
int style)
ChordEditor
public ChordEditor(Composite parent,
int style,
short maxStrings)
init
public void init(short maxStrings)
isEmpty
public boolean isEmpty()
getCurrentChord
public Chord getCurrentChord()
getValue
public int getValue(int string)
addValue
public void addValue(int value,
int string)
getFret
public short getFret()
setFret
public void setFret(short fret)
getMaxStrings
public short getMaxStrings()
setMaxStrings
public void setMaxStrings(short maxStrings)
getWidth
public int getWidth()
getHeight
public int getHeight()
redraw
public void redraw()