jacquard 1.12.0 by The Web Engineering Factory and Toolworks

uk.co.weft.htform
Class HTML2FormLayout

java.lang.Object
  extended byuk.co.weft.htform.Layout
      extended byuk.co.weft.htform.FormLayout
          extended byuk.co.weft.htform.HTML2FormLayout

public class HTML2FormLayout
extends FormLayout

A layout engine for a form, adapted to browsers which do not support tables.

Version:
$Revision: 1.6.4.2 $ This revision: $Author: simon $
  $Log: HTML2FormLayout.java,v $
  Revision 1.6.4.2  2006/12/03 11:04:17  simon
  Mainly code tidyup and documentation

  Revision 1.6.4.1  2005/12/23 10:48:33  simon
  Brute force tidy up after CVS server crash: this time it should work.

  Revision 1.6  2004/02/23 18:17:19  simon
  Deprecated many (most?) public static finals with mixed case names
  in favour of equivalents with ALLUPPERNAMES. Cleaned through the
  deprecation warnings which were consequent on this.

  Revision 1.5  2003/10/08 13:41:33  simon
  Made Layout.layout() public (was protected)

  Revision 1.4  2003/08/20 09:38:35  simon
  Code cleanup with eclipse; mostly removal of exccessive includes

  Revision 1.3  2000/09/19 10:36:17  simon
  Major changes rationalising Contexts. There is now no Context but Context,
  and dbutil is its Package

  Revision 1.2  2000/03/24 10:21:40  simon
  Changes relating to more flexible form handling and to better time
  handline.

  Revision 1.1  1999/11/03 21:07:58  simon
  Moved the layout engine out of Form into a separate hierarchy of classes.
  This is an interim move; there is more work still to be done on layout.

 
  
Author:
Simon Brooke (simon@jasmine.org.uk)

Field Summary
 
Fields inherited from class uk.co.weft.htform.FormLayout
halign, MAX_NARROW, MAX_STANDARD, MAX_WIDE, MIN_WIDGETS, TABINDEXMAGICTOKEN, valign
 
Fields inherited from class uk.co.weft.htform.Layout
page
 
Constructor Summary
HTML2FormLayout()
           
 
Method Summary
 void layoutWidget(Context context, Widget w, int tabIndex)
          Lay out this widget on the output stream in for HTML2 browsers.
 
Methods inherited from class uk.co.weft.htform.FormLayout
getPrompt, getSelectedWidgetSet, layout, layoutAction, layoutAction, layoutNarrow, layoutNarrow, layoutNoHelp, layoutNoHelp, layoutStandard, layoutStandard, layoutUltraWide, layoutUltraWide, layoutWide, layoutWide, layoutWidget, layoutWidget, layoutWidget, layoutWidgets
 
Methods inherited from class uk.co.weft.htform.Layout
getPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTML2FormLayout

public HTML2FormLayout()
Method Detail

layoutWidget

public void layoutWidget(Context context,
                         Widget w,
                         int tabIndex)
                  throws DataStoreException,
                         javax.servlet.ServletException,
                         java.io.IOException
Lay out this widget on the output stream in for HTML2 browsers.

Overrides:
layoutWidget in class FormLayout
Parameters:
context - the service context
tabIndex - the tabindex to use, ot the tab index of my first sub-widget if I have more than one
Throws:
DataStoreException - I don't, but things which specialise me may
javax.servlet.ServletException - I don't, but things which specialise me may
java.io.IOException - if can't write to the output stream

jacquard 1.12.0 by The Web Engineering Factory and Toolworks