|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object model.cue.CueSet
public class CueSet
This class holds a set of cues.
Constructor Summary | |
---|---|
CueSet(ACue[] cues)
This constructor creates a new cueset with the given cues in it. |
|
CueSet(int _maxChannels)
This constructor creates a new cueset with only the empty cue #0 in it. |
Method Summary | |
---|---|
void |
addCue(ACue cue)
This method adds a cue to the cueset. |
void |
addCues(ACue[] cues)
This method adds a series of cues to the set. |
void |
deleteCue(float number)
This method will delete the cue with the given number. |
void |
deleteCues(float[] numbers)
This method will delete the cues with the given numbers. |
static CueSet |
extractFile(String data,
int cueMaxChannels)
This method takes the saved file data and will return a cueset. |
ACue |
getCue(float number)
This method returns the cue with the given cue number. |
String[] |
getCueNames()
This method will return the summary of all the cues. |
Float[] |
getCueNumbers()
This method will return all the cue numbers. |
ACue[] |
getCues()
This method will return all the cues in the cueset. |
ACue[] |
getCues(float[] numbers)
This method returns a series of cues with the given numbers. |
String |
getFileData()
This method returns all the data for this cueset so that it can be saved to a file. |
float |
getHighestCueNumber()
This method returns the highest cue number that exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CueSet(int _maxChannels)
_maxChannels
- The maximum number of channels for this cueset.public CueSet(ACue[] cues)
cues
- The array of cues to add to the set.Method Detail |
---|
public void addCue(ACue cue)
cue
- The cue to add to the cueset.public void addCues(ACue[] cues)
cues
- The array of cues to add to the cueset.public ACue getCue(float number)
number
- The number of the cue you want to receive.
public ACue[] getCues(float[] numbers)
numbers
- The numbers of the cues you want to receive.
public ACue[] getCues()
public void deleteCue(float number)
number
- The number of the cue you want to delete.public void deleteCues(float[] numbers)
The
- array containing the cue numbers you want to delete.public Float[] getCueNumbers()
public String[] getCueNames()
TODO: Rename this method from getCueNames() to getCueSummaries()
public float getHighestCueNumber()
public String getFileData()
public static CueSet extractFile(String data, int cueMaxChannels)
data
- The cueset data from the saved file.cueMaxChannels
- The maximum number of channels for the cue.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |