Package net.sf.jwan.servlet.gui.elements

Examples of net.sf.jwan.servlet.gui.elements.WanDiv


      WanMenuEntry wmiSub = new WanMenuEntry();
        wmiSub.setName(wdl.getLayerTitle());
        wmiSub.setHtmlref(wdl.getHtmlHref());
        wmProgram.addItem(wmiSub);
   
    WanDiv div = new WanDiv();
      div.setDivclass(WanDiv.DivClass.iBlock);
      div.addContent(new WanParagraph("This is Paragraph"))
     
      WanContentLayer mainLayer = new WanContentLayer("Home");
      mainLayer.setLayerTitle("Home");
      mainLayer.setSubDiv(false);
      mainLayer.addContent(div);
View Full Code Here


  {   
    alWanRenderables.clear();
    response.setContentType("text/xml");
    response.setStatus(HttpServletResponse.SC_OK);
   
    WanDiv wd = new WanDiv();
      wd.setDivclass(WanDiv.DivClass.iBlock);
      wd.addContent(new WanParagraph("Here we are!"));
    alWanRenderables.add(wd);
   
    PrintWriter out = response.getWriter();
    try{out.println(renderAsync());}
    catch (WanRenderException e) {logger.error(e);}
View Full Code Here

    super("ExSub", "SubLayer Example");
  }
 
  public StringBuffer render(Properties hP)
  { 
    WanDiv div = new WanDiv();
    div.setDivclass(WanDiv.DivClass.iBlock);
    div.addContent(new WanParagraph("This is a sublayer"));
   
    content = new StringBuffer();
    try {content = content.append(div.render());}
    catch (WanRenderException e) {logger.error(e);}
    return content;
  }
View Full Code Here

{
  static Log logger = LogFactory.getLog(HelloWorld.class);
 
  public HelloWorld()
  {
    WanDiv div = new WanDiv();
      div.setDivclass(WanDiv.DivClass.iBlock);
      div.addContent(new WanParagraph("Hello World"));
     
      WanContentLayer mainLayer = new WanContentLayer("Home");
      mainLayer.setLayerTitle("Home");
      mainLayer.setSubDiv(false);
      mainLayer.addContent(div);
View Full Code Here

TOP

Related Classes of net.sf.jwan.servlet.gui.elements.WanDiv

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.