Maven module :un.api : api-display :
Class : un.api.layout.BlockLayout
Extends/Implements : un.api.layout.AbstractLayout
Subclasses : -

Place each element next to other or on the next line is there is no space left.
Each element will be affected the same space.
The number of element per line is decided by the parent width.
author  Johann Sorel


Variables : -
Functions : BlockLayout, BlockLayout, getBlockSize, setBlockSize, getGridSize, receiveChildEvent, calculateExtents, update, getChildren



public void BlockLayout ()

public void BlockLayout (Extent ext)

public Extent getBlockSize ()

public void setBlockSize (Extent ext)


Size of the current grid.
return  int[]{nbPerLine,nbLine}
public int[] getGridSize ()

protected void receiveChildEvent (Event event)

protected void calculateExtents (Extents extents, Extent constraint)

public void update ()


Optimize children search.
param  dirtyBBox
return
public Iterator getChildren (BBox dirtyBBox)