Squeak Class Documentation category index | class index  
 
EToyCommunicatorMorph
  category: Morphic-Experimental
  superclass: AlignmentMorphBob1
  subclasses: EToyChatOrBadgeMorph EToyFridgeMorph EToyGateKeeperMorph EToyListenerMorph EToyMorphsWelcomeMorph EToyProjectHistoryMorph AudioChatGUI

====== find and report all instances =====
EToySenderMorph instanceReport


====== zap a bunch of ipAddresses =====
EToySenderMorph allInstances do: [ :each |
each ipAddress = '11.11.11.11' ifTrue: [each ipAddress: 'whizzbang']
].
==================== now change one of the whizzbang's back to the right address=====
====== delete the whizzbangs ======
EToySenderMorph allInstances do: [ :each |
each ipAddress = 'whizzbang' ifTrue: [each stopStepping; delete]
].

instance methods
  as yet unclassified
  addGateKeeperMorphs
buttonNamed:action:color:help:
commResult:
delete
editEvent:for:
field:is:
flashIndicator:
handleResult:
indicatorFieldNamed:color:help:
initialize
open
reportError:
resetIndicator:
step
stepTime
stopFlashing
textEntryFieldNamed:with:help:
toggleButtonFor:attribute:
transmitStreamedObject:as:to:
transmitStreamedObject:to:
trulyFlashIndicator:
wantsSteps

class methods
  as yet unclassified
  allForIPAddress:
includeInNewMorphMenu
instanceReport
otherCleanup
playArrivalSound

instance methods
  as yet unclassified top  
 

addGateKeeperMorphs


 

buttonNamed:action:color:help:


 

commResult:


 

delete

Remove the receiver as a submorph of its owner and make its new owner be nil.


 

editEvent:for:


 

field:is:


 

flashIndicator:


 

handleResult:


 

indicatorFieldNamed:color:help:


 

initialize


 

open


 

reportError:


 

resetIndicator:


 

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.


 

stopFlashing


 

textEntryFieldNamed:with:help:


 

toggleButtonFor:attribute:


 

transmitStreamedObject:as:to:


 

transmitStreamedObject:to:


 

trulyFlashIndicator:


 

wantsSteps

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


class methods
  as yet unclassified top  
 

allForIPAddress:

for cleaning up Alan's demo


 

includeInNewMorphMenu

Not to be instantiated from the menu


 

instanceReport

for cleaning up Alan's demo


 

otherCleanup

>>>
EToySenderMorph allInstances do: [ :each |
each ipAddress = '11.11.11.11' ifTrue: [each ipAddress: 'whizzbang']
].
<<<


 

playArrivalSound