org.eclipse.birt.chart.internal.layout
Class LayoutManager
java.lang.Object
org.eclipse.birt.chart.internal.layout.LayoutManager
- public final class LayoutManager
- extends java.lang.Object
A default layout policy implementation
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 |
LayoutManager
public LayoutManager(Block _blRoot)
- The constructor.
- Parameters:
_blRoot
-
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-2007 Actuate Corp. All rights reserved.