Previous Next Package
Interface MIDICompose.Lengthable
- public interface Lengthable
All instances that are Lengthable are able to return and set their length. They also can
turn themselves around in time. To handle them in time, they also must be able to return
and set theis deltaTimes.
-
length()
- Returns current length.
-
setLength(int)
- Sets length.
-
turnRound()
- Turnes itself around in time.
-
deltaTime()
- Returns current deltaTime.
-
setDeltaTime(int)
- Sets deltaTime.
length
public abstract int length()
- Returns the current length.
- Returns:
- any int (>= 0).
setLength
public abstract void setLength(int length)
- Sets the length.
- Parameters:
- length - any int (>=0).
turnRound
public abstract void turnRound()
- Turnes itself around in time.
deltaTime
public abstract int deltaTime()
- Returns the current deltaTime.
- Returns:
- an int (>= 0) for this objects deltaTime.
setDeltaTime
public abstract void setDeltaTime(int deltaTime)
- Sets this objects deltaTime.
- Parameters:
- deltaTime - any int (>= 0).
Previous Next Package