org.basex.gui.view.map
Class SliceDiceAlgo

java.lang.Object
  extended by org.basex.gui.view.map.MapAlgo
      extended by org.basex.gui.view.map.SliceDiceAlgo

public class SliceDiceAlgo
extends MapAlgo

Slice-and-Dice Layout Algorithm.

Author:
Workgroup DBIS, University of Konstanz 2005-09, ISC License, Joerg Hauser

Constructor Summary
SliceDiceAlgo()
           
 
Method Summary
 org.basex.gui.view.map.MapRects calcMap(org.basex.gui.view.map.MapRect r, org.basex.gui.view.map.MapList ml, int ns, int ne, int l)
          Splits List nodes into Rectangles matching in given space.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SliceDiceAlgo

public SliceDiceAlgo()
Method Detail

calcMap

public org.basex.gui.view.map.MapRects calcMap(org.basex.gui.view.map.MapRect r,
                                               org.basex.gui.view.map.MapList ml,
                                               int ns,
                                               int ne,
                                               int l)
Description copied from class: MapAlgo
Splits List nodes into Rectangles matching in given space.

Parameters:
r - parent rectangle
ml - children array
ns - start array position
ne - end array position
l - indicates level which is calculated
Returns:
ArrayList holding laid out rectangles