java.lang.Object
org.jjazz.instrumentcomponents.guitardiagram.api.TGChord

public class TGChord extends Object
Represent a model for a chord diagram: which notes are pressed, which strings, which fret position.
  • 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

      public String getName()
    • setName

      public void setName(String name)
    • clone

      public TGChord clone()
    • toString

      public String toString()
      Overrides:
      toString in class Object