Squeak Class Documentation category index | class index  
 
EToyFridgeMorph
  category: Morphic-Collaborative
  superclass: EToyCommunicatorMorph
  subclasses:

EToyFridgeMorph new openInWorld

instance methods
  as yet unclassified
  acceptDroppingMorph:event:
drawOn:
getChoice:
groupToggleButton
handlesMouseDown:
handlesMouseOver:
handlesMouseOverDragging:
initialize
mouseDown:
mouseEnter:
mouseEnterDragging:
mouseEnterEither:
mouseLeave:
mouseLeaveDragging:
mouseLeaveEither:
mouseUp:
noteRemovalOf:
rebuild
step
toggleChoice:
transmittedObjectCategory
trulyFlashIndicator:
wantsDroppedMorph:event:

  object fileIn
 

class methods
  as yet unclassified
  addRecipient:
descriptionForPartsBin
fridgeForm
fridgeRecipients
newItem:
newItems
removeRecipientWithIPAddress:
updateCounter

instance methods
  as yet unclassified top  
 

acceptDroppingMorph:event:

This message is sent when a morph is dropped onto a morph that has agreed to accept the dropped morph by responding 'true' to the wantsDroppedMorph:Event: message. This default implementation just adds the given morph to the receiver.


 

drawOn:


 

getChoice:


 

groupToggleButton


 

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.


 

handlesMouseOverDragging:

Return true if I want to receive mouseEnterDragging: and mouseLeaveDragging: when the hand drags something over me (button up or button down), or when the mouse button is down but there is no mouseDown recipient. The default response is false, except if you have added sensitivity to mouseEnterLaden: or mouseLeaveLaden:, using the on:send:to: mechanism.


 

initialize


 

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.


 

mouseEnterDragging:

Handle a mouseEnterDragging event, meaning the mouse just entered my bounds with a button pressed or laden with submorphs. The default response is to let my eventHandler, if any, handle it, or else to do nothing.


 

mouseEnterEither:


 

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.


 

mouseLeaveDragging:

Handle a mouseLeaveLaden event, meaning the mouse just left my bounds with a button pressed or laden with submorphs. The default response is to let my eventHandler, if any, handle it; else to do nothing.


 

mouseLeaveEither:


 

mouseUp:

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


 

noteRemovalOf:


 

rebuild


 

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.


 

toggleChoice:


 

transmittedObjectCategory


 

trulyFlashIndicator:


 

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.


  object fileIn top  

class methods
  as yet unclassified top  
 

addRecipient:


 

descriptionForPartsBin

If the receiver is a member of a class that would like to be represented in a parts bin, answer the name by which it should be known, and a documentation string to be provided, for example, as balloon help. When the 'nativitySelector' is sent to the 'globalReceiver', it is expected that some kind of Morph will result. The parameters used in the implementation below are for documentation purposes only!


 

fridgeForm


 

fridgeRecipients


 

newItem:


 

newItems


 

removeRecipientWithIPAddress:


 

updateCounter