com.miginfocom.ashape.layout
Class DefaultAShapeLayout

java.lang.Object
  extended by com.miginfocom.ashape.layout.AbstractAShapeLayout
      extended by com.miginfocom.ashape.layout.DefaultAShapeLayout
All Implemented Interfaces:
AShapeLayout, java.io.Serializable

public class DefaultAShapeLayout
extends AbstractAShapeLayout

The default layout just sets the parent's bounds (AShape.getShapeBounds() as reference bounds for all the sub shapes. This means that the siblings laied out have not layout-relationship to each other.

See Also:
Serialized Form

Constructor Summary
DefaultAShapeLayout()
           
 
Method Summary
 void layoutShapes(AShape parent)
          Layout the first level sub shapes of the parent and call AShape.layout() on them
 
Methods inherited from class com.miginfocom.ashape.layout.AbstractAShapeLayout
getLayoutSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAShapeLayout

public DefaultAShapeLayout()
Method Detail

layoutShapes

public void layoutShapes(AShape parent)
Description copied from interface: AShapeLayout
Layout the first level sub shapes of the parent and call AShape.layout() on them

Parameters:
parent - The parent which sub shapes should be laid out.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.