View Javadoc
1 /* 2 * Angkor Web Framework 3 * 4 * Distributable under LGPL license. 5 * See terms of license at gnu.org. 6 */ 7 package com.tirsen.angkor.widget; 8 9 import com.tirsen.angkor.RenderContext; 10 11 import java.io.IOException; 12 13 /*** 14 * 15 * 16 * <!-- $Id: Menu.java,v 1.5 2002/10/09 21:37:37 tirsen Exp $ --> 17 * <!-- $Author: tirsen $ --> 18 * 19 * @author Jon Tirsén (tirsen@users.sourceforge.net) 20 * @version $Revision: 1.5 $ 21 */ 22 public class Menu extends Container 23 { 24 public void render(RenderContext context) throws IOException 25 { 26 if (isVisible()) 27 { 28 context.startTag("P id=\"" + getId() + "\""); 29 renderChildren(context); 30 context.emptyTag("HR"); 31 context.endTag("P"); 32 } 33 } 34 }

This page was automatically generated by Maven