Maven module :un.api : api-display :
Class :
un.api.layout.BlockLayout
Extends/Implements :
un.api.layout.AbstractLayout
Subclasses : -
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)
public int[]
getGridSize ()
protected void
receiveChildEvent (Event event)
protected void
calculateExtents (Extents extents, Extent constraint)
public void
update ()
public Iterator
getChildren (BBox dirtyBBox)
Each element will be affected the same space.
The number of element per line is decided by the parent width.
author Johann Sorel