org.jfugue
Class Measure

java.lang.Object
  extended by org.jfugue.Measure
All Implemented Interfaces:
java.io.Serializable, JFugueElement

public final class Measure
extends java.lang.Object
implements JFugueElement

Represents a measure marker. This has no bearing on the audio produced, but is useful for making music strings more readable, and for listening to progress as a song is played.

Version:
3.0
Author:
David Koelle
See Also:
Serialized Form

Constructor Summary
Measure()
          Creates a new Measure object, which is simply an indicator that a measure line has been parsed in a MusicString
 
Method Summary
 java.lang.String getMusicString()
          Returns the Music String representing this element.
 java.lang.String getVerifyString()
          Returns verification string in this format: Measure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Measure

public Measure()
Creates a new Measure object, which is simply an indicator that a measure line has been parsed in a MusicString

Method Detail

getMusicString

public java.lang.String getMusicString()
Returns the Music String representing this element. For a Measure object, the Music String is |

Specified by:
getMusicString in interface JFugueElement
Returns:
the Music String for this element

getVerifyString

public java.lang.String getVerifyString()
Returns verification string in this format: Measure

Specified by:
getVerifyString in interface JFugueElement