Class AnchorLayout

java.lang.Object
com.cloudgarden.layout.AnchorLayout
All Implemented Interfaces:
LayoutManager, LayoutManager2

public class AnchorLayout extends Object implements LayoutManager2
Lays out components, using a combination of their "bounds" property and their AnchorConstraints layout constraint objects.

Sides of the components can be anchored either absolutely (eg, if the right side is anchored absolutely then it will always be a fixed number of pixels from the right side of it's parent container) or relatively (ie, if any side is anchored relatively then it will always occur a fixed fraction of the way along it's parent's side). Or they can be not anchored, at all in which case they will occur at places determined by their component's "bounds" property and the anchoring of the component's other sides.