Squeak Class Documentation category index | class index  
 
ScrollingToolHolder
  category: Morphic-Support
  superclass: Object
  subclasses:

Used to hold stamp images in the PaintBox. Displays a small number of the available stamps and allows scrolling to access the others. One stamp is always kept blank as a way to create new stamps.

Note:
stamps are the full size Forms
thumbnailPics are the shrunken ones
nil in both lists means no stamp yet, so user can create one

instance methods
  as yet unclassified
  clear
normalize
otherButtonFor:
pickupButtons
pickupButtons:
remove:
scroll:
stampButtons
stampButtons:
stampForm:for:
stampFormFor:
updateReferencesUsing:

class methods
  no messages
 

instance methods
  as yet unclassified top  
 

clear

wipe out all existing stamps


 

normalize

Correspondence between buttons and stamp forms has changed. Make all thumbnails show up right.


 

otherButtonFor:

Find the corresponding button for either a pickup or a stamp button


 

pickupButtons


 

pickupButtons:

Save the list of buttons that are for making a new stamp. Left to right


 

remove:

Remove a stamp. Make this stamp blank. OK to have a bunch of blank ones.


 

scroll:

Move the stamps over


 

stampButtons


 

stampButtons:

Pop in a new list of buttons that are the tools for stamping. Left to right


 

stampForm:for:

Install this form to stamp. Find its index. Make a thumbnail.


 

stampFormFor:


 

updateReferencesUsing:

Fix up the Morphs I own


class methods
  no messages top