|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfugue.Time
public class Time
Represents a timing value, which can be used to indicate when certain events are played.
Constructor Summary | |
---|---|
Time(long time)
Creates a new Time object, with the specified time number. |
Method Summary | |
---|---|
java.lang.String |
getMusicString()
Returns the Music String representing this element and all of its settings. |
long |
getTime()
Returns the time used in this object |
void |
setTime(long time)
Sets the value of the time for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Time(long time)
time
- the number of the time to useMethod Detail |
---|
public void setTime(long time)
time
- the number of the time to usepublic long getTime()
public java.lang.String getMusicString()
@
time
getMusicString
in interface JFugueElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |