dguitar.adaptors.song
Interface SongMeasure

All Superinterfaces:
SongPhrase
All Known Implementing Classes:
SongMeasureImpl

public interface SongMeasure
extends SongPhrase

A SongMeasure is a single measure in a song.

Author:
crnash

Method Summary
 void addTrack(SongMeasureTrack track)
           
 int getIndex()
           
 int getLength()
           
 TimeSignature getTimeSignature()
           
 SongMeasureTrack getTrack(SongTrack track)
          Retrieves the SongMeasureTrack (list of SongEvents) for the given track in this measure.
 
Methods inherited from interface dguitar.adaptors.song.SongPhrase
getPerformanceMeasure, getPerformanceMeasureCount, getScoreMeasure, getScoreMeasureCount
 

Method Detail

addTrack

public void addTrack(SongMeasureTrack track)

getTrack

public SongMeasureTrack getTrack(SongTrack track)
Retrieves the SongMeasureTrack (list of SongEvents) for the given track in this measure.

Returns:
the song measure track of the score of this measure on this track.

getLength

public int getLength()
Returns:
the length of this phrase, in resolution units

getIndex

public int getIndex()
Returns:
the index of the measure

getTimeSignature

public TimeSignature getTimeSignature()