Class: HierarchyLayoutManager

Environment: Siren
Superclass: Siren.LayoutManager
Category: MusicUI-Layout
Instance variables: length xStep yStep treeAccessor

Instances of the HierarchyLayoutManager classes are used to generate display lists from tree-like data and tree accessors.

Instance Variables:
length temp. depth used in layout
xStep step size for x
yStep step size for x
treeAccessor the TreeAccessor used to access the model

accessing

accessor: aTA
Set the receiver's tree accessor to the argument.

xStep: aNumber
Set the receiver's x step size to the argument.

yStep: aNumber
Set the receiver's y step size to the argument.

generating

addItem1: aModelNode atNode: aPath in: aDisplayList
Add the given item to the display list.

addItem: aModelNode atNode: aPath in: aDisplayList
Add the given item to the display list.

displayPositionFor: aPath
Answer the display position of the element at the given path.

generateDisplayList
Generate and answer the receiver's display list.

MetaClass: HierarchyLayoutManager class