Squeak Class Documentation category index | class index  
 
CompoundTileMorph
  category: Morphic-Scripting Tiles
  superclass: TileLikeMorph
  subclasses:

A statement with other whole statements inside it. If-Then. Test.

instance methods
  access
  associatedPlayer
scriptee

  code generation
  codeString
storeCodeBlockFor:on:indent:
storeCodeOn:indent:

  initialization
  initialize

  miscellaneous
  install
recompileScript
resultType
rowOfRightTypeFor:forActor:
scriptEdited
tile:isOnLineAfter:
tileRows
type

  mouse
  acceptDroppingMorph:event:
handlesMouseDown:
handlesMouseOver:
handlesMouseOverDragging:
mouseDown:
mouseEnter:
mouseEnterDragging:
mouseLeave:
mouseLeaveDragging:
prepareToUndoDropOf:
targetPartFor:
wantsDroppedMorph:event:

  testing
  isTileEditor

class methods
  instance creation
  includeInNewMorphMenu

instance methods
  access top  
 

associatedPlayer


 

scriptee

Pertains only when the test is outside a script?!


  code generation top  
 

codeString


 

storeCodeBlockFor:on:indent:


 

storeCodeOn:indent:


  initialization top  
 

initialize


  miscellaneous top  
 

install

Backstop for obscure cases


 

recompileScript

Pertains only when the test is outside a script?!


 

resultType

Answer the result type of the receiver


 

rowOfRightTypeFor:forActor:


 

scriptEdited

Pertains only when the test is outside a script?!


 

tile:isOnLineAfter:

Return true if the given tile is not on the same line at the previous tile or if the previous tile is nil.


 

tileRows

Answer a list of tile rows, in this case just one though it's compound


 

type


  mouse top  
 

acceptDroppingMorph:event:

Forward the dropped morph to the appropriate part.


 

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.


 

mouseDown:

Pretend we picked up the tile and then put it down for a trial
positioning.


 

mouseEnter:

Resume drop-tracking in enclosing editor


 

mouseEnterDragging:

Test button state elsewhere if at all


 

mouseLeave:

Resume drop-tracking in enclosing editor


 

mouseLeaveDragging:

Test button state elsewhere if at all


 

prepareToUndoDropOf:

needs to be here, as a no-op, owing to being hit obscurely on occasion


 

targetPartFor:

Return the row into which the given morph should be inserted.


 

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.


  testing top  
 

isTileEditor

Yes I am


class methods
  instance creation top  
 

includeInNewMorphMenu

Not to be instantiated from the menu