Squeak Class Documentation category index | class index  
 
RectangleMorph
  category: Morphic-Basic
  superclass: BorderedMorph
  subclasses: HeadingMorph GradientFillMorph SoundLoopMorph RulerMorph BasicButton SoundSequencerMorph EnvelopeEditorMorph CodecDemoMorph PianoKeyboardMorph InterimSoundMorph UpdatingRectangleMorph BalloonRectangleMorph SimpleButtonMorph GraphMorph DoubleClickExample FillInTheBlankMorph ProgressMorph ScaleMorph TextFieldMorph ThumbnailMorph PianoRollScoreMorph AlignmentMorph ZoomAndScrollControllerMorph AbstractMediaEventMorph TileMorph TextMorph MorphExample ClassDiagramMorph

No comment. Sorry.

instance methods
  initialization
  defaultColor

  testing
  wantsToBeCachedByHand

  visual properties
  canHaveFillStyles

class methods
  as yet unclassified
  roundRectPrototype

  parts bin
  descriptionForPartsBin
diagonalPrototype
gradientPrototype
supplementaryPartsDescriptions

instance methods
  initialization top  
 

defaultColor

Answer the color that should be set for the receiver by default


  testing top  
 

wantsToBeCachedByHand

Return true if the receiver wants to be cached by the hand when it is dragged around.


  visual properties top  
 

canHaveFillStyles

Return true if the receiver can have general fill styles; not just colors.
This method is for gradually converting old morphs.


class methods
  as yet unclassified top  
 

roundRectPrototype


  parts bin top  
 

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!


 

diagonalPrototype


 

gradientPrototype


 

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