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.

Method Index

 o length()
Returns current length.
 o setLength(int)
Sets length.
 o turnRound()
Turnes itself around in time.
 o deltaTime()
Returns current deltaTime.
 o setDeltaTime(int)
Sets deltaTime.

Methods

 o length
 public abstract int length()
Returns the current length.

Returns:
any int (>= 0).
 o setLength
 public abstract void setLength(int length)
Sets the length.

Parameters:
length - any int (>=0).
 o turnRound
 public abstract void turnRound()
Turnes itself around in time.
 o deltaTime
 public abstract int deltaTime()
Returns the current deltaTime.

Returns:
an int (>= 0) for this objects deltaTime.
 o setDeltaTime
 public abstract void setDeltaTime(int deltaTime)
Sets this objects deltaTime.

Parameters:
deltaTime - any int (>= 0).

 Previous  Next          Package