Squeak Class Documentation category index | class index  
 
LayoutPolicy
  category: Morphic-Layouts
  superclass: Object
  subclasses: ProportionalLayout TableLayout

A LayoutPolicy defines how submorphs of some morph should be arranged. Subclasses of the receiver define concrete layout policies.

instance methods
  layout
  flushLayoutCache
layout:in:
minExtentOf:in:

  testing
  isProportionalLayout
isTableLayout

  utilities
  indexForInserting:at:in:

class methods
  no messages
 

instance methods
  layout top  
 

flushLayoutCache

Flush any cached information associated with the receiver


 

layout:in:

Compute the layout for the given morph based on the new bounds


 

minExtentOf:in:

Return the minimal size aMorph's children would require given the new bounds


  testing top  
 

isProportionalLayout


 

isTableLayout


  utilities top  
 

indexForInserting:at:in:

Return the insertion index based on the layout strategy defined for some morph. Used for drop insertion.


class methods
  no messages top