be.lassi.cues
Class CueChannelLevels
java.lang.Object
be.lassi.cues.CueChannelLevels
- All Implemented Interfaces:
- java.lang.Iterable<CueChannelLevel>
public class CueChannelLevels
- extends java.lang.Object
- implements java.lang.Iterable<CueChannelLevel>
Collection of CueChannelLevel
objects.
Constructor Summary |
CueChannelLevels(int numberOfChannels)
Create new instance with given number of CueChannelLevel objects. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CueChannelLevels
public CueChannelLevels(int numberOfChannels)
- Create new instance with given number of
CueChannelLevel
objects.
- Parameters:
numberOfChannels
-
blackout
public void blackout()
- Set all levels to zero.
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class java.lang.Object
get
public CueChannelLevel get(int index)
- Get CueChannelLevel at given index.
- Parameters:
index
-
- Returns:
- CueChannelLevel
iterator
public java.util.Iterator<CueChannelLevel> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<CueChannelLevel>
set
public void set(CueChannelLevels other)
- Set objects in this collection to objects in given collection.
- Parameters:
other
-
size
public int size()
- Gets the number of levels.
- Returns:
- int the number of levels
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object