test.songs
Class SongDefinition

java.lang.Object
  extended bytest.songs.SongDefinition
Direct Known Subclasses:
MidiSongDefinition

public class SongDefinition
extends java.lang.Object

Author:
crnash

Field Summary
(package private)  int[] channels
           
(package private)  java.util.List components
           
(package private)  java.lang.String gpFileName
           
 
Constructor Summary
SongDefinition()
           
 
Method Summary
 void addComponent(SongComponent component)
           
 int[] getChannels()
           
 SongComponent getComponent(int index)
           
 int getComponentCount()
           
 java.lang.String getGpFileName()
           
 int getMainChannel(int i)
           
 int getTrackCount()
           
 void setChannels(int[] channels)
           
 void setGpFileName(java.lang.String gpFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gpFileName

java.lang.String gpFileName

components

java.util.List components

channels

int[] channels
Constructor Detail

SongDefinition

public SongDefinition()
Method Detail

addComponent

public void addComponent(SongComponent component)

setChannels

public void setChannels(int[] channels)

getGpFileName

public java.lang.String getGpFileName()
Returns:
Returns the gpFileName.

setGpFileName

public void setGpFileName(java.lang.String gpFileName)
Parameters:
gpFileName - The gpFileName to set.

getComponentCount

public int getComponentCount()
Returns:
the number of components

getComponent

public SongComponent getComponent(int index)

getTrackCount

public int getTrackCount()
Returns:
the track count

getMainChannel

public int getMainChannel(int i)
Parameters:
i -
Returns:
the main channel according to i

getChannels

public int[] getChannels()
Returns:
Returns the channels.