WUI : API


org.westofj.wui
Class WFlowLayout

java.lang.Object
  extended byorg.westofj.wui.WFlowLayout
All Implemented Interfaces:
WLayoutManager

public final class WFlowLayout
extends Object
implements WLayoutManager

Arranges Widget components in a WContainer in their natural HTML layout.

Version:
$Revision: 1.5 $, $Date: 2004/03/14 21:27:46 $
Author:
bill

Field Summary
static WFlowLayout INSTANCE
          An instance of a flow layout manager.
 
Constructor Summary
WFlowLayout()
          Constructs a flow layout manager.
 
Method Summary
 void render(WContainer container, WRunner runner, WRenderContext context, PrintWriter out)
          Renders the WContainer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final WFlowLayout INSTANCE
An instance of a flow layout manager.

Constructor Detail

WFlowLayout

public WFlowLayout()
Constructs a flow layout manager.

Method Detail

render

public final void render(WContainer container,
                         WRunner runner,
                         WRenderContext context,
                         PrintWriter out)
                  throws WRenderException
Description copied from interface: WLayoutManager
Renders the WContainer.

Specified by:
render in interface WLayoutManager
Parameters:
container - the container to render.
runner - the current runner context.
out - the PrintWriterto which to render the WContainerinstance.
Throws:
WRenderException

Copyright (c) 2003 West of J - All rights reserved.