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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFretValue(int string, int fret) clone()intintintintgetFretValue(int string) getName()int[]voidsetFirstFret(int firstFret) voidtoString()
-
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
-