dguitar.adaptors.song.impl
Class SongVirtualTrackImpl

java.lang.Object
  extended bydguitar.adaptors.song.impl.SongVirtualTrackImpl
All Implemented Interfaces:
SongVirtualTrack

public class SongVirtualTrackImpl
extends java.lang.Object
implements SongVirtualTrack

Author:
Chris

Field Summary
(package private)  java.util.List events
           
(package private)  int index
           
(package private)  SongMeasureTrack track
           
 
Constructor Summary
SongVirtualTrackImpl(SongMeasureTrack track, int index)
           
 
Method Summary
 void addEvent(SongEvent event)
           
 void addEvents(java.util.List subEvents)
           
 java.util.List getEvents()
           
 int getIndex()
           
 SongMeasureTrack getMeasureTrack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

track

SongMeasureTrack track

index

int index

events

java.util.List events
Constructor Detail

SongVirtualTrackImpl

public SongVirtualTrackImpl(SongMeasureTrack track,
                            int index)
Parameters:
track -
index -
Method Detail

getIndex

public int getIndex()
Specified by:
getIndex in interface SongVirtualTrack
Returns:
Returns the index.

getMeasureTrack

public SongMeasureTrack getMeasureTrack()
Specified by:
getMeasureTrack in interface SongVirtualTrack
Returns:
Returns the track.

addEvents

public void addEvents(java.util.List subEvents)
Specified by:
addEvents in interface SongVirtualTrack

getEvents

public java.util.List getEvents()
Specified by:
getEvents in interface SongVirtualTrack

addEvent

public void addEvent(SongEvent event)
Specified by:
addEvent in interface SongVirtualTrack