Class: EventListEditor

Environment: Siren
Superclass: Siren.DisplayListEditor
Category: MusicUI-Editors
Instance variables: eventList ostinato defaultEvent

Instances of EventListEditor are used as the models of EventListViews.
They hold onto EventLists and send messages to them.

Instance variables:
list my EventList (subject)
ostinato my loop process (if i'm looping)
selection The "selected" notes
ampl My default amplitude

list access

add: anAss
Add the given EventAssociation to the model list.

doInspect
Inspect the receiver's list.

eraseList
Flush the receiver's list.

play
Play the receiver's eventList.

remove: anEvent
Remove the given event from the receiver's list

startStop
If not playing, create ostinato and start; if playing, stop and release.

links and groups

group: events
Group the event list argument within the receiver's list.

link: anEvent with: anOtherEvent
Set up a link between the two events or lists.

select: anAorEL
Add the given association to the list of selected items.

accessing

ampl
Answer the amplitude of the default event.

ampl: newValue
Set the amplitude of the default event.

defaultEvent
Answer the receiver's default event.

defaultEvent: anEvent
Set the receiver's default event.

displayList
Answer nil.

eventList
Answer the receiver's subject eventList.

eventList: anEL
Set the given EventList as the receiver's model.

items
Answer the subject eventList's events.

initialize-release

release
Release the receiver's list.

MetaClass: EventListEditor class