Squeak Class Documentation category index | class index  
 
PaintInvokingMorph
  category: Morphic-Widgets
  superclass: ImageMorph
  subclasses:

When this is dropped inside some appropriate place, then painting is invoked for that place.

instance methods
  as yet unclassified
  initialize
initializeToStandAlone
isCandidateForAutomaticViewing
justDroppedInto:event:
wantsToBeDroppedInto:

class methods
  as yet unclassified
  authoringPrototype
descriptionForPartsBin
supplementaryPartsDescriptions

instance methods
  as yet unclassified top  
 

initialize


 

initializeToStandAlone

Set up the receiver, created by a #basicNew and now ready to be initialized, as a fully-formed morph suitable for providing a graphic for a parts bin surrogate, and, when such a parts-bin surrogate is clicked on, for attaching to the hand as a viable stand-alone morph. Because of historical precedent, #initialize has been expected to handle this burden, though a great number of morphs actually cannot stand alone. In any case, by default we call the historical #initialize, though unhappily, so that all existing morphs will work no worse than before when using this protocol.


 

isCandidateForAutomaticViewing


 

justDroppedInto:event:

This message is sent to a dropped morph after it has been dropped on--and been accepted by--a drop-sensitive morph


 

wantsToBeDroppedInto:

Only into PasteUps that are not part bins


class methods
  as yet unclassified top  
 

authoringPrototype

Answer an instance of the receiver suitable for placing in a parts bin for authors


 

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!


 

supplementaryPartsDescriptions

Answer a list of DescriptionForPartsBin objects that characterize objects that this class wishes to contribute to Stationery bins *other* than by the standard default #newStandAlone protocol