| java.lang.Object com.xoetrope.builder.w3c.html.XHtmlFormLayout
XHtmlFormLayout | public class XHtmlFormLayout implements LayoutManager(Code) | | A layout manager for html forms. Components flow along rows till a break element
is encountered abd then they flow to the next row along the page length
Copyright (c) Xoetrope Ltd., 2002-2006
$Revision: 1.2 $
License: see License.txt
|
Constructor Summary | |
public | XHtmlFormLayout(XHtmlBuilder htmlBuilder) Creates a layout manager that will lay out components along the
y axis. |
FILL | final public static int FILL(Code) | | |
PREFERRED | final public static int PREFERRED(Code) | | |
XHtmlFormLayout | public XHtmlFormLayout(XHtmlBuilder htmlBuilder)(Code) | | Creates a layout manager that will lay out components along the
y axis.
Parameters: target - the container that needs to be laid out |
addLayoutComponent | public void addLayoutComponent(String name, Component comp)(Code) | | If the layout manager uses a per-component string,
adds the component comp to the layout,
associating it
with the string specified by name .
Parameters: name - the string to be associated with the component Parameters: comp - the component to be added |
layoutContainer | public void layoutContainer(Container parent)(Code) | | Lays out the specified container.
Parameters: parent - the container to be laid out |
removeLayoutComponent | public void removeLayoutComponent(Component comp)(Code) | | Removes the specified component from the layout.
Parameters: comp - the component to be removed |
setAlignment | public void setAlignment(String alignment)(Code) | | Set the horizontal alignment
Parameters: alignment - the alignment string - left|right|center |
|
|