Class:            FunctionController

Environment:      Siren
Superclass:         Siren.DisplayListController
Category:         MusicUI-Functions
Instance variables:   modelIndex

Missing comment

menu messages

addFunction
   Add a new function to the view's model array.

clearFunction
   Clear the current function to the view's model array.

doInspect
   Inspect the receiver's array of models

enterFunction
   Add a new function to the view's model array after typing in its breakpoints.

redraw
   Redraw the view and clear the selection.

setAScale
   comment stating purpose of message

private

addPoint: cPoint
   Add a new point to the model near the current point.

dragPoint: cPoint
   Drag the current point.

rubberBandLinesBetween: p1 and: p2 and: p3
   Drag two lines between the given end- and middle-points;
   answer the final mid-point

selectModel: index
   Set the model index of the receiver to the argument.

control defaults

redButtonActivity
   Hit-detect items from the display list or drag a selection.

selectAtPoint: aPoint
   Hit-detect the model for the given pt.

events

mouseMovedEvent: anEvent
   Mouse dragging

accessing

model
   Answer the view's model at the receiver's model index.

initialize-release

initialize
   

initializeMenu
   Set up the receiver's YellowButtonMenu

MetaClass:         FunctionController class