Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

virtuoso.asaph.model.types
Class Chord  view Chord download Chord.java

java.lang.Object
  extended byvirtuoso.asaph.model.types.Chord

public class Chord
extends java.lang.Object

An object that represents a single chord.


Field Summary
private  Note bass_
           
private  Note note_
           
private  java.lang.String type_
           
 
Constructor Summary
private Chord(Note note, java.lang.String type, Note bass)
          Constructor
 
Method Summary
static Chord create(Note note, java.lang.String type, Note bass)
          pseudo-Constructor
static Chord create(java.lang.String str)
          Get a chord given a string
(package private) static Chord create(StringScanner scan)
          Get a chord given a string scanner
static Chord[] createArray(java.lang.String str)
          Get a chord array given a string
 boolean equals(java.lang.Object obj)
          equals
 java.lang.String generateString()
          Generate the string
static java.lang.String generateString(Chord[] array)
          Generate a string for a chord array
 Note getBass()
          Get the bass Note
 Note getNote()
          Get the Note
 java.lang.String getType()
          Get the type
 int hashCode()
          hashCode
 Chord lowerInterval(Interval interval)
          Lower by an interval
 Chord raiseInterval(Interval interval)
          Raise by an interval
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

note_

private Note note_

type_

private java.lang.String type_

bass_

private Note bass_
Constructor Detail

Chord

private Chord(Note note,
              java.lang.String type,
              Note bass)
Constructor

Method Detail

create

public static Chord create(Note note,
                           java.lang.String type,
                           Note bass)
pseudo-Constructor


create

public static Chord create(java.lang.String str)
Get a chord given a string


create

static Chord create(StringScanner scan)
Get a chord given a string scanner


createArray

public static Chord[] createArray(java.lang.String str)
Get a chord array given a string


generateString

public static java.lang.String generateString(Chord[] array)
Generate a string for a chord array


getNote

public Note getNote()
Get the Note


getType

public java.lang.String getType()
Get the type


getBass

public Note getBass()
Get the bass Note


generateString

public java.lang.String generateString()
Generate the string


raiseInterval

public Chord raiseInterval(Interval interval)
Raise by an interval


lowerInterval

public Chord lowerInterval(Interval interval)
Lower by an interval


equals

public boolean equals(java.lang.Object obj)
equals


hashCode

public int hashCode()
hashCode