Jazz API Documentation

edu.umd.cs.jazz
Interface ZLayoutManager

All Superinterfaces:
ZSerializable
All Known Implementing Classes:
ZTreeLayoutManager, ZPathLayoutManager

public interface ZLayoutManager
extends ZSerializable

ZLayoutManager represents an object that can layout the children of a node.

See Also:
ZNode

Method Summary
 void doLayout(ZGroup node)
          Apply this manager's layout algorithm to the specified node's children.
 void postLayout(ZGroup node)
          Notify the layout manager that the layout for this node has finished This is called after all children and the node itself are layed out.
 void preLayout(ZGroup node)
          Notify the layout manager that a potentially recursive layout is starting.
 
Methods inherited from interface edu.umd.cs.jazz.io.ZSerializable
setState, writeObject, writeObjectRecurse
 

Method Detail

doLayout

public void doLayout(ZGroup node)
Apply this manager's layout algorithm to the specified node's children.
Parameters:
The - node to apply this layout algorithm to.

preLayout

public void preLayout(ZGroup node)
Notify the layout manager that a potentially recursive layout is starting. This is called before any children are layed out.
Parameters:
The - node to apply this layout algorithm to.

postLayout

public void postLayout(ZGroup node)
Notify the layout manager that the layout for this node has finished This is called after all children and the node itself are layed out.
Parameters:
The - node to apply this layout algorithm to.

Jazz API Documentation