|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.herac.tuxguitar.gui.editors.chord.ChordCreatorUtil
public class ChordCreatorUtil
Class that helps to create a chord from information put in ChordSelector dialog. Also contains ChordDatabase static field.
Nested Class Summary | |
---|---|
protected class |
ChordCreatorUtil.PriorityComparator
used to sort the array |
protected class |
ChordCreatorUtil.PriorityItem
used just to sort StringValue ArrayLists by priorities |
Field Summary | |
---|---|
static int |
MAX_FRET_SPAN
Maximum fret distance for a chord |
static int |
MAX_STRINGS
Maximum number of strings variable - has twin in TrackPropertiesAction class |
Method Summary | |
---|---|
protected int |
checkForOverlapping(int checkIt)
We have to make sure that if required note is already inside expanding notes array so we don't put it twice... |
static void |
getChords(ChordCreatorListener listener,
int[] tuning,
int chordIndex,
int alteration,
int plusMinus,
boolean add,
int add5,
int add9,
int add11,
int bassTonic,
int chordTonic,
boolean sharp)
|
protected void |
getChords(int[] tuning,
int chordIndex,
int alteration,
int plusMinus,
boolean add,
int add5,
int add9,
int add11,
int bassTonic,
int chordTonic,
boolean sharp)
|
static long |
getNewProcess()
|
boolean |
isValidProcess()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_STRINGS
public static final int MAX_FRET_SPAN
Method Detail |
---|
public boolean isValidProcess()
public static long getNewProcess()
public static void getChords(ChordCreatorListener listener, int[] tuning, int chordIndex, int alteration, int plusMinus, boolean add, int add5, int add9, int add11, int bassTonic, int chordTonic, boolean sharp)
protected void getChords(int[] tuning, int chordIndex, int alteration, int plusMinus, boolean add, int add5, int add9, int add11, int bassTonic, int chordTonic, boolean sharp)
protected int checkForOverlapping(int checkIt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |