test.songs
Class SongDefinition
java.lang.Object
test.songs.SongDefinition
- Direct Known Subclasses:
- MidiSongDefinition
- public class SongDefinition
- extends java.lang.Object
- Author:
- crnash
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gpFileName
java.lang.String gpFileName
components
java.util.List components
channels
int[] channels
SongDefinition
public SongDefinition()
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.