Squeak Class Documentation category index | class index  
 
LayoutCell
  category: Morphic-Layouts
  superclass: Object
  subclasses:

I am used in table layouts to hold temporary values while the layout is being computed.

Instance variables:
target <Morph> The morph contained in this cell
cellSize <Point> The size of the cell
extraSpace <nil | Point> Additional space to add after this cell
nextCell <nil | LayoutCell> The next cell in the arrangement.

Implementation note:
Both, cellSize and extraSpace contains points where
x - represents the primary table direction
y - represents the secondary table direction

instance methods
  accessing
  addExtraSpace:
cellSize
cellSize:
extraSpace
extraSpace:
hSpaceFill
hSpaceFill:
nextCell
nextCell:
target
target:
vSpaceFill
vSpaceFill:

  collection
  do:
inject:into:
size

class methods
  no messages
 

instance methods
  accessing top  
 

addExtraSpace:


 

cellSize


 

cellSize:


 

extraSpace


 

extraSpace:


 

hSpaceFill


 

hSpaceFill:


 

nextCell


 

nextCell:


 

target


 

target:


 

vSpaceFill


 

vSpaceFill:


  collection top  
 

do:


 

inject:into:

Accumulate a running value associated with evaluating the argument,
binaryBlock, with the current value of the argument, thisValue, and the
receiver as block arguments. For instance, to sum the numeric elements
of a collection, aCollection inject: 0 into: [:subTotal :next | subTotal +
next].


 

size

Primitive. Answer the number of indexable variables in the receiver.
This value is the same as the largest legal subscript. Essential. See Object
documentation whatIsAPrimitive.


class methods
  no messages top