|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmusiccreator.DefinitionArray
public class DefinitionArray
Constructor Summary | |
---|---|
DefinitionArray(java.lang.String filename)
Creates a new instance of DefinitionArray. |
Method Summary | |
---|---|
void |
clear()
Clears the definition tree prior to loading a new one. |
ChordDef |
get(int whichGroup,
int whichChordDef)
Returns a specific chord from a specific chord group |
ChordDef |
getNextChord()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefinitionArray(java.lang.String filename) throws java.io.FileNotFoundException
filename
- The XML file to read.
java.io.FileNotFoundException
Method Detail |
---|
public ChordDef getNextChord()
public ChordDef get(int whichGroup, int whichChordDef)
whichGroup
- Group to searchwhichChordDef
- Index of chord definition
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |