Class TGChord
java.lang.Object
org.jjazz.instrumentcomponents.guitardiagram.api.TGChord
Represent a model for a chord diagram: which notes are pressed, which strings, which fret position.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFretValue
(int string, int fret) clone()
int
int
int
int
getFretValue
(int string) getName()
int[]
void
setFirstFret
(int firstFret) void
toString()
-
Constructor Details
-
TGChord
public TGChord(int length)
-
-
Method Details
-
addFretValue
public void addFretValue(int string, int fret) -
getFretValue
public int getFretValue(int string) -
getFirstFret
public int getFirstFret() -
setFirstFret
public void setFirstFret(int firstFret) -
getStrings
public int[] getStrings() -
countStrings
public int countStrings() -
countNotes
public int countNotes() -
getName
-
setName
-
clone
-
toString
-