Squeak Class Documentation category index | class index  
 
ZoomAndScrollControllerMorph
  category: Morphic-Demo
  superclass: RectangleMorph
  subclasses:

No comment. Sorry.

instance methods
  as yet unclassified
  addCustomMenuItems:hand:
cameraPoint
cameraPoint:
cameraPointRounded
cameraScale
cameraScale:
changeKeys
currentCameraVersion
deadZoneWidth
doProgrammedMoves
drawOn:
editAScript
fractionLeftInMove:
grabCameraPositionEvent:morph:
handlesKeyboard:
handlesMouseDown:
handlesMouseOver:
hasFocus
initialize
keyDown:
keyStroke:
keyUp:
mouseDown:
mouseEnter:
mouseLeave:
mouseMove:
mouseUp:
patchOldVersion1
pauseProgrammedMoves
resumeProgrammedMoves
runAScript
saveScript:as:
setProgrammedMoves:
step
stepTime
target:
targetScriptDictionary
turnToPage:position:scale:transition:

class methods
  scripting
  additionsToViewerCategories

instance methods
  as yet unclassified top  
 

addCustomMenuItems:hand:

Add morph-specific items to the given menu which was invoked by the given hand. This method provides is invoked both from the halo-menu and from the control-menu regimes.


 

cameraPoint


 

cameraPoint:


 

cameraPointRounded


 

cameraScale


 

cameraScale:


 

changeKeys


 

currentCameraVersion


 

deadZoneWidth


 

doProgrammedMoves


 

drawOn:


 

editAScript


 

fractionLeftInMove:


 

grabCameraPositionEvent:morph:


 

handlesKeyboard:

Return true if the receiver wishes to handle the given keyboard event


 

handlesMouseDown:

Do I want to receive mouseDown events (mouseDown:, mouseMove:, mouseUp:)?


 

handlesMouseOver:

Do I want to receive mouseEnter: and mouseLeave: when the button is up and the hand is empty? The default response is false, except if you have added sensitivity to mouseEnter: or mouseLeave:, using the on:send:to: mechanism.


 

hasFocus


 

initialize


 

keyDown:

Handle a key down event. The default response is to do nothing.


 

keyStroke:

Handle a keystroke event. The default response is to let my eventHandler, if any, handle it.


 

keyUp:

Handle a key down event. The default response is to do nothing.


 

mouseDown:

Handle a mouse down event. The default response is to let my eventHandler, if any, handle it.


 

mouseEnter:

Handle a mouseEnter event, meaning the mouse just entered my bounds with no button pressed. The default response is to let my eventHandler, if any, handle it.


 

mouseLeave:

Handle a mouseLeave event, meaning the mouse just left my bounds with no button pressed. The default response is to let my eventHandler, if any, handle it.


 

mouseMove:

Handle a mouse move event. The default response is to let my eventHandler, if any, handle it.


 

mouseUp:

Handle a mouse up event. The default response is to let my eventHandler, if any, handle it.


 

patchOldVersion1

hack.. use this as an opportunity to fix old versions


 

pauseProgrammedMoves


 

resumeProgrammedMoves


 

runAScript


 

saveScript:as:


 

setProgrammedMoves:


 

step

Do some periodic activity. Use startStepping/stopStepping to start and stop getting sent this message. The time between steps is specified by this morph's answer to the stepTime message. The generic version dispatches control to the player, if any. The nasty circumlocation about owner's transformation is necessitated by the flexing problem that the player remains in the properties dictionary both of the flex and the real morph. In the current architecture, only the top renderer's pointer to the player should actually be honored for the purpose of firing.


 

stepTime

Answer the desired time between steps in milliseconds. This default implementation requests that the 'step' method be called once every second.


 

target:


 

targetScriptDictionary


 

turnToPage:position:scale:transition:


class methods
  scripting top  
 

additionsToViewerCategories

Answer a list of (<categoryName> <list of category specs>) pairs that characterize the phrases this kind of morph wishes to add to various Viewer categories.