org.eclipse.birt.chart.internal.layout
Class LayoutManager

java.lang.Object
  extended by org.eclipse.birt.chart.internal.layout.LayoutManager

public final class LayoutManager
extends java.lang.Object

A default layout policy implementation


Constructor Summary
LayoutManager(Block _blRoot)
          The constructor.
 
Method Summary
 void doLayout(IDisplayServer xs, Chart cm, Bounds bo, RunTimeContext rtc)
          This method recursively walks down the chart layout and establishes bounds for each contained block based on the following rule: All immediate children under 'blRoot' are added as ElasticLayout with appropriate constraints All other children (at deeper levels) are added as NullLayout with fixed 'relative' bounds
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutManager

public LayoutManager(Block _blRoot)
The constructor.

Parameters:
_blRoot -
Method Detail

doLayout

public void doLayout(IDisplayServer xs,
                     Chart cm,
                     Bounds bo,
                     RunTimeContext rtc)
              throws ChartException
This method recursively walks down the chart layout and establishes bounds for each contained block based on the following rule: All immediate children under 'blRoot' are added as ElasticLayout with appropriate constraints All other children (at deeper levels) are added as NullLayout with fixed 'relative' bounds

Parameters:
bo -
Throws:
OverlapException
ChartException


Copyright © 2005-2008 Actuate Corp. All rights reserved.