org.jfugue
Interface JFugueElement

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ChannelPressure, Controller, Instrument, KeySignature, Layer, Measure, Note, PitchBend, PolyphonicPressure, Tempo, Time, Voice

public interface JFugueElement
extends java.io.Serializable

This is the base class for the JFugue elements, including Voice, Instrument, Note, Controller, and Tempo. It requires that elements be able to return a Music String representation of their settings.

Version:
2.0, 4.0 - Added getVerifyString(), 4.0.3 - Now extends Serializable
Author:
David Koelle

Method Summary
 java.lang.String getMusicString()
          Returns the Music String representing this element and all of its settings.
 java.lang.String getVerifyString()
          Returns a verification string, which should contain a String representation of all of the aspects of the given element.
 

Method Detail

getMusicString

java.lang.String getMusicString()
Returns the Music String representing this element and all of its settings.

Returns:
the Music String for this element

getVerifyString

java.lang.String getVerifyString()
Returns a verification string, which should contain a String representation of all of the aspects of the given element. This should be in the following form: Thing: key=value, key=value, key=value,... For example: Note: value=60, duration=0.25