Overview  Package   Class  Tree  Index 

be.lassi.web
Class MenuBuilder

java.lang.Object
  extended by be.lassi.web.MenuBuilder

public class MenuBuilder
extends java.lang.Object

Writes the html for the menu in the web pages.


Constructor Summary
MenuBuilder(java.io.PrintWriter out)
          Constructs a new instance.
 
Method Summary
 void print(MainPage page, int depth)
          Prints the menu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuBuilder

public MenuBuilder(java.io.PrintWriter out)
Constructs a new instance.

Parameters:
out - output destination
Method Detail

print

public void print(MainPage page,
                  int depth)
Prints the menu.

Parameters:
page - the main page that this page belongs to
depth - the depth of the sub-directory

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2