Squeak Class Documentation category index | class index  
 
ZASMScriptMorph
  category: Morphic-Demo
  superclass: PasteUpMorph
  subclasses:

No comment. Sorry.

instance methods
  as yet unclassified
  acceptDroppingMorph:event:
addCustomMenuItems:hand:
compileScript
decompileScript:named:for:
fixup
initialize
layoutChanged
saveScript
step
stepTime
wantsDroppedMorph:event:
wantsSteps

class methods
  no messages
 

instance methods
  as yet unclassified top  
 

acceptDroppingMorph:event:

The supplied morph, known to be acceptable to the receiver, is now to be assimilated; the precipitating event is supplied


 

addCustomMenuItems:hand:

Add morph-specific menu itemns to the menu for the hand


 

compileScript


 

decompileScript:named:for:


 

fixup


 

initialize


 

layoutChanged

The receiver's layout changed; inform above and below


 

saveScript


 

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.


 

wantsDroppedMorph:event:

Return true if the receiver wishes to accept the given morph, which is being dropped by a hand in response to the given event. Note that for a successful drop operation both parties need to agree. The symmetric check is done automatically via aMorph wantsToBeDroppedInto: self.


 

wantsSteps

Return true if the receiver overrides the default Morph step method.


class methods
  no messages top